Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #18207
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!newsfeed.straub-nv.de!uucp.gnuu.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail |
|---|---|
| Content-Type | text/plain; charset="UTF-8" |
| Message-ID | <1653533.WIYo4VKPqX@PointedEars.de> (permalink) |
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Reply-To | Thomas 'PointedEars' Lahn <usenet@PointedEars.de> |
| Organization | PointedEars Software (PES) |
| Date | Tue, 22 Jan 2013 18:34:06 +0100 |
| User-Agent | KNode/4.4.11 |
| Content-Transfer-Encoding | 8Bit |
| Subject | Re: RegExp debugging tool |
| Newsgroups | comp.lang.javascript |
| References | <a3084ac0-9d57-49f8-9c6c-5be48f4ae3ba@y8g2000vbb.googlegroups.com> |
| Followup-To | comp.lang.javascript |
| MIME-Version | 1.0 |
| Lines | 36 |
| NNTP-Posting-Date | 22 Jan 2013 18:34:07 CET |
| NNTP-Posting-Host | 48cd18db.newsspool4.arcor-online.net |
| X-Trace | DXC=LXCJenNR:NhOKO]LCQ@0g`4IUK<Cl32<a4Fo<]lROoRa8kF<OcfhCOk\hWdEekMTomDZm8W4\YJNlb@mF9jNikdekf[So:RoGLcRgEiD7`6BQd |
| X-Complaints-To | usenet-abuse@arcor.de |
| Xref | csiph.com comp.lang.javascript:18207 |
Followups directed to: comp.lang.javascript
Show key headers only | View raw
Asen Bozhilov wrote: > I developed tool which traces the steps needed by JS regular > expression to find matching substring or fail. It shows step by steps > how the regex is applying on the input data. If the engine performs > step backward aka backtracking, the tool indicates for that. That was > primary goal. I was inspired by RegexBuddy and wanted such tool, but > online. I used BESEN's debug mode of RegExp. > > <URL:http://www.regexter.com/> > > The tool is still in beta and any suggestions or bug reports are > welcome. I do not understand why “f*” would first try to match “f” instead of “fff” in “fff”. ISTM that efficiency of the parser could be greatly improved if the latter was the case. Is this due to BESEN? I do not know RegexBuddy, but for visualization you should look into Bastian Bergerhoff's QuickREx [1]. I have always found the highlighting of subexpressions and matching substrings to be useful in Eclipse (and fortunately that extension is still working even in Eclipse 4.3 [Kepler] M4; the only thing it is lacking is support for ECMAScript RE). > Also I think the FAQ of clj should have a link to this tool. Noted for discussion. [1] <http://www.bastian-bergerhoff.com/eclipse/features/web/QuickREx/toc.html> -- PointedEars Twitter: @PointedEars2 Please do not Cc: me. / Bitte keine Kopien per E-Mail.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
RegExp debugging tool Asen Bozhilov <asen.bozhilov@gmail.com> - 2013-01-22 08:40 -0800
Re: RegExp debugging tool Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-01-22 18:34 +0100
Re: RegExp debugging tool Asen Bozhilov <asen.bozhilov@gmail.com> - 2013-01-22 10:00 -0800
csiph-web