Skip to main content

Timeline for Regex - some matches are missing

Current License: CC BY-SA 3.0

7 events
when toggle format what by license comment
Sep 25, 2016 at 0:01 vote accept patex1987
Sep 25, 2016 at 0:00 comment added patex1987 Yes its working in Python and Notepad++ as well. So actually my problem is solved
Sep 24, 2016 at 23:53 comment added Wiktor Stribiżew If the regex engine supports lookaheads, a "better" solution is (?=(0\.{1,3}0)) (since all the values will be captured into Group 1 and there won't be any need adding 0s at the end). It is a bit slower than redneb's pattern.
Sep 24, 2016 at 23:49 comment added redneb I think the lookahead solution is the simplest one here (again, provided that your regex engine supports that).
Sep 24, 2016 at 23:44 comment added patex1987 Thanks, thats a nice and clever workaround. The only thing I need to do is to append "0" to the end of the match string. Do You think, that this is the only solution?
Sep 24, 2016 at 23:41 history edited redneb CC BY-SA 3.0
added 129 characters in body
Sep 24, 2016 at 23:36 history answered redneb CC BY-SA 3.0