my $regexp = qr/ (?: ( int | char | bool | long ) ) /x; if ($string =~ /\A $regexp \z/xms){ print $&, "\n"; }
In reply to Re: multiple options for pattern match help
by poolpi
in thread multiple options for pattern match help
by barryscott
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |