The pattern matches a hyphen.
I have a piece of Perl code (pattern matching) for example
$var = "<AT>this is an at command</AT>";
if ($var =~ /<AT>([\s\w]*)<\/AT>/i)
{
print "Matched in AT command\n";
print "$var\n\n";
}
It works great if the content inbetween tags does not have Hyphen. It does not work if between the lines at the tags, inserted a hyphen ... <AT>this is an at-command</AT>.
Is it possible to commit this regular expression even if a hyphen is also inserted?
help me pls
Sentil
Character class
Your template contains this subpattern:
[\s\w]*
[…] - . - [aeiou] . [^…] . [^aeiou] , .
\s ; \w . .
* - Regex: [01-12] ?