> I used (?| to enable branch reset operation in order to make following > pattern variables; > > |m{ > ^ \[ \d+ \] : \s > (?| (|snpv1|);(|service1|) # $1, $2 > | (|snpv|2);(|service|2) # $1, $2 > | (|snpv|3);(|service|3) # $1, $2 > | (|snpv|2);(|service1|) # $1, $2 > ) > ; > (\w+);(\w+) # $3, $4 > ; (\d) # $5 > .+ $ > }x| > > > This branch reset operator is supported in Perl v5.10.0 but not in > v5.8.8. This allows me to use $1, $2 variables with different values for > any match. > Is it possible to acheive this type of matching in v5.8.8 too? >
I see -- I have never used ?| myself, and thus initially thought it is a typo. Undortunately, if ?| is not supported in Perl 5.8.8, then you can use it only on nodes where Perl 5.10 is installed, since SEC employs the regular expression engine of the underlying Perl interpreter. kind regards, risto ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Simple-evcorr-users mailing list Simple-evcorr-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users