Loop/Development/RegExpDebugging

From MozillaWiki
< Loop‎ | Development
Revision as of 23:38, 29 July 2015 by Dmose (talk | contribs) (Created page with "== Regular Expression debugging tools == [https://dxr.mozilla.org/mozilla-central/source/browser/components/loop/content/shared/js/urlRegExp.js browser/components/loop/conten...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Regular Expression debugging tools

browser/components/loop/content/shared/js/urlRegExp.js contains a big regexp currently used to match URLs in plain text. Because it's so giant, changing certain parts of it can be very fragile and can create a nasty game of whack-a-mole of failing tests.

Several regular expression debugging tools & resources have come in handy when debugging changes to it: (they have differing strengths and weaknesses when dealing with a regexp this nasty):