Enhance embedded Regex Tester

Martin's Avatar

Martin

Dec 20, 2016 @ 10:08 AM

The embedded regex tester for creating new log reading is working fine.

What would be great is an additional field where you get the json_encoded version of the regex.
I was in need to write a small php script for getting/testing it.

By using the own small script, I identified that it makes a huge difference in using the regex entered in the tester and a json_encoded version of it. The pure regex can do fine while the jsoned version can make troubles, especially when you deal with single/double quotes.

Therefore a tester running both, pure regex and jsoned regex would be also very helpful

Reply to this discussion

Internal reply

        No formatting (switch to Markdown)

          You can attach files up to 10MB

            If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

              Keyboard shortcuts

              Generic

              ? Show this help
              ESC Blurs the current field

              Comment Form

              r Focus the comment reply box
              ^ + ↩ Submit the comment

              You can use Command ⌘ instead of Control ^ on Mac