- From: Malcolm Rowe <malcolm-what@farside.org.uk>
- Date: Wed, 23 Jun 2004 16:29:33 +0100
Malcolm Rowe writes: > > http://www.jacobsm.com/regexp.htm seems to say "match anything", so > > you could define the empty string as being the pattern "" without the > > ^$ bit. > Note that, in contrast, the production '^$' matches only *empty* inputs. > What do we want pattern="" to mean - match empty inputs, or match any > input? I'd tend to the former. Replying to myself; I've just noticed that this /is/ explicit in the current version (I thought it was only implicitly described). So yes, we should say that an empty or omitted attribute is equivalent to the empty regexp. Regards, Malcolm
Received on Wednesday, 23 June 2004 08:29:33 UTC