diff options
author | Matthew Somerville <matthew@mysociety.org> | 2013-03-26 10:16:43 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2013-04-11 11:37:03 +0100 |
commit | d84a5018b3682a55006740b8870f1f969c0eef66 (patch) | |
tree | 5e161aeef3ca1fe5e04c6929c91f838b7dd284fe /perllib/FixMyStreet/Cobrand/Bromley.pm | |
parent | 76d97609c3b08bc079540ffb64b9a0f16f0f878e (diff) |
Only match High Street alone, there are others in the borough.
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/Bromley.pm')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Bromley.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Bromley.pm b/perllib/FixMyStreet/Cobrand/Bromley.pm index 0d4894aa8..b57113c5a 100644 --- a/perllib/FixMyStreet/Cobrand/Bromley.pm +++ b/perllib/FixMyStreet/Cobrand/Bromley.pm @@ -29,7 +29,7 @@ sub disambiguate_location { my $town = 'Bromley'; # Bing turns High St Bromley into Bromley High St which is in # Bromley by Bow. - if ( $string =~ /high\s+st/i ) { + if ( $string =~ /^high\s+st(reet)?$/i ) { $town .= ', BR1'; } return { |