Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Author Topic: Web-based regex analyser, tester and _debugger_ (!) tool; And a reference site  (Read 4152 times)

Weaver

  • Senior Kitizen
  • ******
  • Posts: 11459
  • Retd s/w dev; A&A; 4x7km ADSL2 lines; Firebrick

This stunning regex tool website is an invaluable tool for anyone who uses complicated regexes a lot.

This web-based visual regex engine is superbly designed. You can give it a scenario / test input text, put in your regex and it will apply the regex and show you the result. It analyses, checks and explains your regex documenting every part of it so if you don’t know what you’re doing or worse think you know and have got it wrong, then the analysis will set you straight.

It support various regex engines with different capabilities and different dialects so you can check if certain marginal features are available with the regex dialect / engine you are using. There is an engine / dialect selector setting that controls this.

There is a stunning debugger that will run you through the operation of the regex step by step so you can see where you are going wrong.

I don’t know what I would do without this site, particularly the facility where you can easily set up a setup scenario and check output so as to debug your regex against a variety of cases.

I use it all the time and in fact I rely on it so much that I make a donation to them when I can. Unfortunately I’m pretty broke these days since I’m not working.

* Another tip: I also use this regex reference site when I forget what’s what.

I keep forgetting the syntax of certain things. Also thanks to this site I have discovered some advanced features that I had never heard of, such as the mode whatever it’s called where (literal textual) whitespace in regexes is ignored, so that you can break a regex up to format it for readability, and in this mode one can even insert comments in parts of a particularly grim and complex longwinded regex. (One just has to use the likes of '\s' for example in relevant places instead of putting in a significant literal space character.)
« Last Edit: May 30, 2019, 04:11:16 PM by burakkucat »
Logged

burakkucat

  • Respected
  • Senior Kitizen
  • *
  • Posts: 38300
  • Over the Rainbow Bridge
    • The ELRepo Project

Thank you for sharing the links. I can see how those sites would prove useful on the odd occasion . . .
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.
 

anything