The way to fix it is to remove the /o from the regex: if ((my @gaps) = ($asstr =~ m/$regex/))
buckaduck
In reply to Re: Strange Behaviour of Two Hashes
by buckaduck
in thread Strange Behaviour of Two Hashes
by monkfan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |