SPUG: SQL syntax Regular Expression

Ben Reser ben at reser.org
Wed Jun 19 15:49:30 CDT 2002


On Wed, Jun 19, 2002 at 06:59:52PM +0000, Josh Lanza wrote:
> What I want to get at here is how to handle delimiters with regular 
> expressions.  The same thing applies with markup parsing - I know there are 
> modules written to do this kind of work, but I'd like to know how, for 
> instance, to parse an HTML document and determine if a block of HTML is 
> commented out. I can see how this is done with byte by byte parsing, but 
> how is it done with regular expressions?

Why don't you just install one of those modules and look at it's source?

-- 
Ben Reser <ben at reser.org>
http://ben.reser.org

We tend to see all wars through the lens of the current conflict, and we
mine history for lessons convenient to the present purpose.
- Brian Hayes

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
      Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
  Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
 For daily traffic, use spug-list for LIST ;  for weekly, spug-list-digest
     Seattle Perl Users Group (SPUG) Home Page: http://seattleperl.org




More information about the spug-list mailing list