As best as I can tell, there are syntax problems with your posted regular expressions. This might just be because the square brackets ( [ ] ) in your post got converted into links. This is because you didn't wrap your code in <code> tags. See Writeup Formatting Tips.
You can get Perl to interpret a regular expression for you using the YAPE::Regex::Explain module off of CPAN. You might use that module something like:
#!/usr/bin/perl use strict; use warnings; use YAPE::Regex::Explain; my $re = qr/regex_here/; print YAPE::Regex::Explain->new($re)->explain();
Alternatively, if you clean up your post or post again, I might be able to explain the results to you.
Update:AnomalousMonk's comment made me reread the above; by "post again" I meant in this thread, but clearly that was inobvious.
In reply to Re: Regular expression Problem
by kennethk
in thread Regular expression Problem
by archimca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |