diff options
-rw-r--r-- | Changelog | 4 | ||||
-rw-r--r-- | lib/Travel/Status/DE/URA.pm | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +git HEAD + + * Fix spaces in stop names with fuzzy => 1 + Travel::Status::DE::URA 0.01 - Sun Dec 22 2013 * Initial release 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 ); |