diff options
author | Daniel Friesel <derf@finalrewind.org> | 2013-12-23 18:38:03 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2013-12-23 18:38:03 +0100 |
commit | 4f5953eaf8b9da117e3d947eb55c7ace1ea3c3d8 (patch) | |
tree | f0184fccf5c811f69620e8d808bc0359e90a9869 /lib/Travel | |
parent | 2878dcd0299720ee8879435d8c85b9345fde4f1c (diff) |
Fix spaces in stop names with fuzzy => 1
Diffstat (limited to 'lib/Travel')
-rw-r--r-- | lib/Travel/Status/DE/URA.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/URA.pm b/lib/Travel/Status/DE/URA.pm index 2e66a13..5ca1bee 100644 --- a/lib/Travel/Status/DE/URA.pm +++ b/lib/Travel/Status/DE/URA.pm @@ -98,7 +98,7 @@ sub is_my_stop { my ( $self, $stop, $my_stop, $fuzzy ) = @_; if ($fuzzy) { - return ( $stop =~ m{ $my_stop }ix ? 1 : 0 ); + return ( $stop =~ m{$my_stop}i ? 1 : 0 ); } else { return ( $stop eq $my_stop ); |