3dbc has asked for the wisdom of the Perl Monks concerning the following question:
gives me an incorrect result of:my $string ="Group: Group Name▼▼Role: Role Name" $string =~ m/(.*)Group|Role\:\s+(.*)\s+|[^!-~\s]+(.*)$/; print "\n\nTHIS IS THE GROUP/ROLE NAME!!!!:" . $2 . "!!!!\n\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: regex match unicode characters in ascii string
by haukex (Archbishop) on Jan 27, 2017 at 19:54 UTC | |
by 3dbc (Monk) on Jan 27, 2017 at 20:24 UTC | |
by haukex (Archbishop) on Jan 27, 2017 at 20:36 UTC | |
|
Re: regex match unicode characters in ascii string
by kcott (Archbishop) on Jan 28, 2017 at 03:02 UTC | |
|
Re: regex match unicode characters in ascii string
by poj (Abbot) on Jan 27, 2017 at 20:00 UTC | |
by 3dbc (Monk) on Jan 27, 2017 at 20:17 UTC | |
by poj (Abbot) on Jan 27, 2017 at 20:22 UTC | |
by 3dbc (Monk) on Jan 27, 2017 at 20:40 UTC | |
by poj (Abbot) on Jan 27, 2017 at 20:48 UTC | |
|