News for hackers. Stuff that matters.
Re:Is there a regular expression to detect a valid regular e... by majewsky on Sunday September 08, 2019 @03:18PM (#20912723)
You want (?:, not (?

Without the colon, the parser appears to be interpreting (? as "one or more instances of (", but ( is no a full expression by itself and therefore cannot be modified with a quantifier.

Re:Is there a regular expression to detect a valid regular e... by unlinkr on Monday September 09, 2019 @03:55AM (#20916061)
I actually meant (?<tag> in order to create a named capture.