|
|
| go ahead... be a heretic | |
| PerlMonks |
Re^2: How can I make a string unique (quicker than my approach at least)by hippo (Archbishop) |
| on Apr 02, 2024 at 11:12 UTC ( [id://11158647]=note: print w/replies, xml ) | Need Help?? |
|
my( $pre, $post ) = split m{(?<=>)}; Interesting - you have assumed that the <TAB> in the OP's data is literally those 5 characters whereas in my reading they were using this to indicate a single tab character. Doesn't matter really, but it would make the split regex simpler if it were a single tab. 🦛
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||