tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Google SoC Proposal Ideas



 >> - (a|) is not a valid regexp. This should not be supported
 >> - (a||b) is not a valid regexp too. If it is not supported,
 >>   it is not a big problem.

> They are not valid per POSIX, but to a theoretician (theory is where
> regexes came from, after all) there is nothing wrong with either one,

Maybe. In very large regexps

  (|R1|R2|...|Rn)

form may look better/easier to understand than 

  (R1|R2|...|Rn)?

-- 
Best regards, Aleksey Cheusov.


Home | Main Index | Thread Index | Old Index