W3C home > Mailing lists > Public > www-zig@w3.org > May 2002

Proposal for truncation type 105: Masking

From: Ray Denenberg <rden@loc.gov>
Date: Tue, 28 May 2002 11:03:38 -0400
Message-ID: <3CF39C4A.3085FFDD@loc.gov>
To: zig <www-zig@w3.org>
There was a proposal at the April ZIG meeting to
amend the definition of type 104 truncation.
Discussion continued after the meeting however it
was clear that only a few people were interested,
and we have had offline discussion. As a result
the following is proposed:

1. No change to the type 104 truncation. (In fact
it is suggested that it be depricated; however
deprication not part of the specific proposal
below.)

2. A new truncation type is proposed,
105:"Masking". See specific proposal below. (The
105 definition is kept simple and if it is not
sufficient to meet masking requirements, other
implementors may develop and propose a more
complex type, 107.)

3.  Another new truncation type will be proposed,
106: "ISO 8777".  Its definition will be supplied
later, and is not part of the specific proposal
below.


Specific Proposal (comments requested by June 30).

Type 105: "Masking".  Proposed Definition.

A single asterisk (*) is used to mask  zero or
more characters.
A single question mark (?) is used to mask zero or
one character.
(Thus N consecutive question-marks means mask zero
to N characters.)

Backslash is used to escape ? and * (as well as
itself):
\? is a literal ?
\* is a literal *
\\ is a literal \

Thus \\* would be literal backslash followed by
active *.
\\\* would be literal \*.


Please comment, by June 30.

--Ray
Received on Tuesday, 28 May 2002 11:07:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 29 October 2009 06:12:22 GMT