> Yes, but the spec says that if reluctant quantifiers are used, i.e. > those with ? is .? really a reluctant match? That would make ? in Xpath incompatible with ? in perl, sed, emacs etc. In perl at least you follow a normal (greedy) quantifier with ? to make it reluctant, so you need ?? to get a reluctant 0 or 1 match. A single ? is a greedy 0 or 1, just as a * is a greedy 0 or more match and *? is reluctant. see eg http://www.perldoc.com/perl5.6.1/pod/perlre.html DavidReceived on Monday, 18 August 2003 18:31:31 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:00 GMT