in reply to regex help!

what exactly does this regex?

I don't know, what happened when you tried to run it? What input do you want to run it on? How do I post a question effectively? Without sample data, I could tell you what the punctuation means, but so can perlre.

If I had to guess, though, I'd wager it's someone's attempt at reinventing Pod::Parser / Pod::Simple.

Replies are listed 'Best First'.
Re^2: regex help!
by anek77713 (Acolyte) on Jul 12, 2013 at 09:58 UTC
    this piece of code is from this repository: https://github.com/timurn/modern_perl_book/tree/master/build/tools in build_chapters.pl

      Well, then, -- for posting code licensed under a Creative Commons Attribution license without attribution, and apologies for a most unbeknownst-to-me implication that the author (whose work I know and respect) would float out poorly designed code. In the context of the original source file, it makes much more sense.

      http://creativecommons.org/licenses/by-nc-sa/3.0/us/

      Attribution — You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).