|< 1 2 >| | 15 Einträge, 2 Seiten |
1
2
3
4
5
6
7
my $regex = "m/^(\d+)$/gi";
if(&check_regex($regex) == 1) {
...
}
else {
print 'regex' . $regex . 'not valid';
}
my $regex = qr/^(\d+)$/;
1
2
3
Uncaught exception from user code:
Unmatched ) in regex; marked by <-- HERE in m/^(\d+)) <-- HERE $/ at ./regex.pl line 9.
at ./regex.pl line 9
|< 1 2 >| | 15 Einträge, 2 Seiten |