How can I speed up my Perl regex matching?
- by est
I want to capture several text using the following regex:
$text_normal = qr{^(\/F\d+) FF (.*?) SCF SF (.*?) MV (\(.*?)SH$};
A sample of the string is like below:
my $text = '/F12345 FF FF this is SCF SF really MV (important stuff SH';
Can that be rewritten to speed up the matching?