One thing people seem to have missed is that in most cases it would be possible to simplify the regular expressions quite considerably, by using the fact that the attribute in question has a limited range of allowable values, or even that it will take only a few different values in the documents to which the style sheet applies. For instance, when matching the lang attribute, there is no need to allow for the fact that its value might be "franc" or "free" because this should never be the case; I'm not saying that it can't be the case, but if you write invalid markup you cannot reasonably expect it to behave sensibly. Tim BagotReceived on Tuesday, 10 March 1998 14:17:01 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:54 GMT