Re: RFC 166 (disambiguator)

2000-08-29 Thread Richard Proctor
On Tue 29 Aug, Mark-Jason Dominus wrote: > > 2. You can already write /$foo(?:)bar/ to get what you wanted. This >is almost identical to what Richard proposed anyway. This has the effect I was after. > > It is really not clear to me that this problem needs to be solved any > better than i

RFC 166 (disambiguator)

2000-08-29 Thread Mark-Jason Dominus
Richard Proctor suggests that (?) will match the empty string. Then it can be inserted into regexes to separate elements that need to be separated. For example, /$foo(?)bar/ interpolates the value of $foo and then looks for that pattern followed by 'bar'. You cannot simply write /$foobar/ bec