summaryrefslogtreecommitdiff
path: root/lib/Travel
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2013-12-23 18:38:03 +0100
committerDaniel Friesel <derf@finalrewind.org>2013-12-23 18:38:03 +0100
commit4f5953eaf8b9da117e3d947eb55c7ace1ea3c3d8 (patch)
treef0184fccf5c811f69620e8d808bc0359e90a9869 /lib/Travel
parent2878dcd0299720ee8879435d8c85b9345fde4f1c (diff)
Fix spaces in stop names with fuzzy => 1
Diffstat (limited to 'lib/Travel')
-rw-r--r--lib/Travel/Status/DE/URA.pm2
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 );