in reply to Simplifying regexes

I seem to recall some discussions here on deviations between the math/compsci concept of Regular Expressions, and the actual implementation in the Perl engine. It seems like you have already hit upon a source to describe the former; for the latter, I suggest:

  1. Tutorials here to learn (and also Super Search for more examples)
  2. This site to experiment with what you've learned.

Update: example of one such discussion.

Dum Spiro Spero

Replies are listed 'Best First'.
Re^2: Simplifying regexes
by AnomalousMonk (Archbishop) on Oct 26, 2015 at 16:09 UTC

    This site (above) is written and maintained by davido. See his personal node for another link in case you're ever at a loss for this one.


    Give a man a fish:  <%-{-{-{-<

      Bookmarked. Thanks!

Re^2: Simplifying regexes
by ExReg (Priest) on Oct 26, 2015 at 15:24 UTC

    Thank you for the links to the various tutorials and discussions. I have read all those over the many years I have used regexes. I feel fairly confident using regexes, including lookarounds, although the dynamic types are still fairly new to me. I am looking for something a little more abstract and theoretical that would probably get into NFA and DFA. I have read the section in Mastering Regular Expressions towards the end that introduces the concepts, but would like more info.