in reply to Problem with regexp to match

I use this website https://regex101.com/ for live testing any regex I want to use. I find it quick and handy and it's informative for those who are not that well versed in it yet as well.

Replies are listed 'Best First'.
Re^2: Problem with regexp to match
by LanX (Saint) on Oct 14, 2021 at 19:30 UTC
    > I use this website https://regex101.com/ for live testing any regex I want to use.

    It's certainly nice and well made, thanks! :)

    But please be aware that it doesn't offer Perl Regexes only PCRE.

    And PCRE has - despite the name - some incompatibilities.

    I don't know about PCRE2 tho... but expect it to keep compatibility to PCRE1.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

      It's similar enough that you get the gist of what what you're capturing, plus teach you the basics of regex. The only thing you really have to remember to do is escape your characters properly for perl.