ok i have a regex with a numeric range and a prefix, like "node1: 0-10" s/^.*\([0-9]*\)-\([0-9]*\)/\2/ works but \1 doesnt why the fuck
-
-
yeah, the only way to make it work was to add a literal match between the two
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
...but it's almost never needed since you can negate a match with ^ inside []
-
or you can put a space after the first .* to catch the one there and stop
End of conversation
New conversation -
-
-
inb4: "i know regular expressions, now you have two problems"
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
don't trust anyone who says "trust me". i thought that forcing to match with + will make it backtrack and give up 0
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.