News for hackers. Stuff that matters.
Re:Advanced Regular Expressions by viggity on Thursday May 07, 2009 @01:29PM (#598307)
I'm a big fan of letting named groups being my documentation, instead of using the # comment notation.
Re:Advanced Regular Expressions by DEinspanjer on Thursday May 07, 2009 @02:23PM (#598407)
Named groups have their use and are nice when the language supports them. There is a lot to be said for the (?xi) flags to allow a complicated regex to be indented and commented usefully.