For a correctly matching pattern, this line of code:
$word =~ /(\d)\s[t=(\S+)]*/;
returns the decimal in $1 properly but does not return the string in $2 (returns null always).
How can I capture a string inside such a character class? Anything special with it?
In reply to string selection from a character class by karden
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |