Re: debugging regexes
- From: Lord Zoltar <lord.zoltar@xxxxxxxxx>
- Date: Fri, 30 May 2008 07:09:52 -0700 (PDT)
On May 29, 9:19 pm, Roedy Green <see_webs...@xxxxxxxxxxxxxxxxxxxx>
wrote:
I wonder what techniques people use for debugging regexes.
Some tools I thought would be useful
1. proofreader to help get \ quoting right.http://mindprod.com/project/regexproofreader.html
2. composerhttp://mindprod.com/project/regexcomposer.html
3. some sort of tool when you don't get a match to give you the index
of the rightmost char that DID match.
4. a framework when you give your patterns and test strings and it
tells you which match and which don't. Perhaps it could prune
strings/patterns to find the best match.
--
Roedy Green Canadian Mind Products
The Java Glossaryhttp://mindprod.com
Personally, I prefer Expresso: http://www.ultrapico.com/Expresso.htm
It's a Windows-only app though. I do remember that KDE also shipped
with a regex tool, of similar capabilities. I don't know what's out
there for OS X, but I'm sure there's something out there.
.
- References:
- debugging regexes
- From: Roedy Green
- debugging regexes
- Prev by Date: Re: Trash Can and Sun
- Next by Date: OO Concept: Liskov Substitution Principle
- Previous by thread: Re: debugging regexes
- Next by thread: Re: debugging regexes
- Index(es):