Just Great Software

RegexBuddy - Learn, create, understand, test, use and store regular expressions

 Introduction 

 

 Buy Now 

 Our Guarantee 

 Download 

 Testimonials 

 Contact Us 

 User Forum 

 

 Screen Shots 

 Live Demos 

 Regular Expressions 

 Features & Benefits 

 Learn 

 Build 

 Understand 

 Test & Highlight 

 Debug 

 Use & Implement 

 Save & Reuse 

 GREP 

 Integrate 

 Programming 

 Linux 

 

 Press Resources 

 Version History 

 Newsletter 

 Blog 

 Affiliates 

 

 

PowerGREP - Find files and information or search and replace through files and folders
RegexMagic - Generate regular expressions
EditPad - Convenient, powerful and versatile text editor to edit all kinds of text files
AceText - Store, manage, edit and reuse text from a central location
DeployMaster - Installation builder delivering your software with a good first impression
HelpScribble - Full-featured help authoring tool for creating help files from start to finish
      

Debug Regular Expressions

Look Inside The Regex Engine

RegexBuddy offers you a unique view inside a regular expression engine. When a regex doesn't do what you want when testing it, and the problem isn't obvious from the English description of the regex, simply run it through the RegexBuddy debugger.

The debugger shows you each and every step of the matching process. It eliminates all guesswork as to why the regular expression matches what it does, or why it fails to match. No other tool offers this level of detail.

The debugging output is produced by the exact same regex engine RegexBuddy uses to highlight matches in sample data, and to grep through files and folders. You can be 100% sure the debugger shows you exactly what is going on inside the regex engine.

      
Only US$ 39.95
Windows 98, ME, NT4, 2000, XP, Vista, and 7
100% satisfied or money back
"I purchased RegexBuddy earlier today. Holy crap. I had no idea what I've been missing. The iteration data that RegexBuddy provides on the debug view is invaluable. Phenomenal job."

-- Mike Wickenden
   9 March 2006, Vermont, USA

Common Mistakes Made Obvious

If you test the regular expression ".*", you will find it does not work properly. The debugger shows you why, as you can see in the screen shot.

The most useful aspect of the debugger is that clicking on a regex token will highlight the text matched by that token at each step. Conversely, clicking on part of a match step shows you which token matched. Click on "backtrack" to see which token failed.

Watch a self-running demonstration illustrating the regular expression debugger in detail

This example was kept simple intentionally, so you could see the whole match attempt in a single static screen shot. It does not do the usefulness of the debugger justice, though. You will soon appreciate the debugger's unique value when working with regular expressions that consist of multiple levels of alternation or nested groups. The debugger will show you plainly how different parts of a regular expression interact. Much easier to see than to describe in English or to try to figure out in your head.

Let RegexBuddy Make Regex Easy for You

RegexBuddy shows you exactly how a regular expression finds its match, and why it works the way you want or doesn’t

RegexBuddy shows you exactly how a regular expression finds its match, and why it works the way you want or doesn’t


"I'm very pleased with RegexBuddy, so please put this testimonial on your website.

"I had written some complex regular expressions which worked fine when a match was found. But when subject could not be matched it took a lot of time, up to 200ms, to return a result.

"RegexBuddy's debugger quickly showed me the expression caused catastrophic backtracking and allowed to find source of the problem. The same debugger also showed me how to greatly improve performance in other expressions.

"I could simply never have done this without this tool."

-- Arnold Daniels
   11 August 2006, The Netherlands

 

 

Page URL: http://www.regexbuddy.com/debug.html
Page last updated: 05 June 2007
Site last updated: 11 March 2010

Published by Just Great Software Co. Ltd.
Copyright © 2004-2010 Jan Goyvaerts.
All rights reserved.