Revert "regex fix"

This reverts commit 65072a4661.
master
nishanths 2014-06-24 00:38:16 -07:00
parent 65072a4661
commit a77eff4f24
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ handle remainder => sub {
$_ =~ s/^\s*//g; # remove front whitespace
$_ =~ s/\s*$//g; # remove back whitespace
$_ =~ s/^(for|of)\s+//g; # remove filler words at the start (note: this will remove 'for' in "for euro sign", but not 'for' in "formula sign")
$_ =~ s/\s+(symbol|sign)\s+//g; # remove 'symbol' and 'sign'
$_ =~ s/(symbol|sign)//g; # remove 'symbol' and 'sign'
$_ =~ s/^\s*//g; # remove front whitespace again that may show up after removing the words above
$_ =~ s/\s*$//g; # remove back whitespace again that may show up after removing the words above