Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    }
    
    print join '', @words[$tags[0] - $prePost .. $#words] if @tags;
    
  2. or download this
    __DATA__
    Regular expressions have always been a weak spot for me, and I've got 
    +a
    ...
     So my next thought is lookahead/lookbehind, but they don't capture.
     Is there a way to do this with a single regex? Is a regex even the be
    +st
     way to do this? Thanks, -Lee
    
  3. or download this
     a weak spot for me, <and> I've got a  question that's
     that's got me stumped. Here's <the> problem I'm trying to solve. 
    ...
     <is>  more than one term <and> they overlap, <the> nth term will not 
    +be
     annotated.  So my next thought <is> lookahead/lookbehind, but they do
    +n't capture. 
     regex? Is a regex even <the> best  way to do this?