Perl 6 Regex Intro - Assertions

duff on 2007-09-21T03:56:45

I've been writing this intro to perl 6 regex article off and on now for a couple of months and feeling like I'm not making much progress. Writing is hard. It took me 4 or so tries to actually write the section that explains alternations and conjunctions. And this is just the draft!

Now, I've decided to start in on the section that explains assertions. I've been putting it off because the right words haven't come to me, but I'm in the mood tonight, so I write. The things I want to cover are:

  • What are assertions?
  • How do I create them?
  • How do I use them?
  • What's the difference between rule, regex, token, and rx?
  • Grammars
Previously I had estimated that I was about 50% done with the initial draft of the article. Looking at it now, I'm probably further along than that. In fact, I think once I finish this section on assertions, the article will be ready for limited public consumption (feedback from #perl6). But given that I rarely find time to write, who knows when that will be. Maybe several weeks or so.