Skip to main content
The 2024 Developer Survey results are live! See the results
11 events
when toggle format what by license comment
Aug 25, 2012 at 11:14 history edited Peter Mortensen CC BY-SA 3.0
Removed historical information.
May 31, 2011 at 14:51 comment added Wavel ...and now you have two problems. :)
May 31, 2011 at 14:49 comment added Wonko the Sane Right - the problem is that to use a parser on a pattern, the pattern must always be predictable.
May 31, 2011 at 13:45 comment added Episodex @Wonko the Sane: you're right. I added solution to this. Still not perfect though.
May 31, 2011 at 13:44 history edited Episodex CC BY-SA 3.0
Added regex for values with colons.; added 1 characters in body
May 31, 2011 at 13:27 comment added Wonko the Sane Note - "test:testvalue test2:test:withcolon value test3:testvalue3" fails test2.
May 31, 2011 at 13:01 vote accept leora
May 31, 2011 at 12:28 comment added Episodex Note: \s will also match tab and newline, so if you think they can occur in values change [\w\s] to [\w ]
May 31, 2011 at 12:24 comment added Alex "any sufficiently advanced regex is indistinguishable from magic" ;)
May 31, 2011 at 11:55 history edited Episodex CC BY-SA 3.0
Added example code
May 31, 2011 at 11:45 history answered Episodex CC BY-SA 3.0