For Users of ASSP  <[email protected]> schreibt:
>How do I write a regex that will match through multiple lines of data?


You can use (?s) as embedded pattern-match modifier.

Instead of 

    if ( /$pattern/si ) 
you may use

    $pattern = "(?si)foobar";
    if ( /$pattern/ ) 


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to