The correct regular expression to match a C-style block comment is surprisingly elusive
-
-
@qntm Won't /\*.+?\*/ work or is making + nongreedy not standard? -
@camlorn38 I tend to work with strictly regular expressions where non-greedy multipliers don't exist - 1 more reply
New conversation -
-
-
@qntm Ah, no, you'd have to use /\*.*?\*/ /**/ is a valid comment, after all.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.