Changeset 12450


Ignore:
Timestamp:
2006-08-16T11:28:22+12:00 (18 years ago)
Author:
mdewsnip
Message:

Fixed up place references case 0: the "magic words".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cic-hcap/perllib/plugins/CICPlug.pm

    r12433 r12450  
    10041004        $place_reference_first_sentence = $1;
    10051005    }
    1006     if ($place_reference_first_sentence =~ / (collection|collections|papers|archives|database|letter|memo|inventory|photographs)\W/i) {
     1006    if ($place_reference_first_sentence =~ /\b(collection|collections|papers|archives|database|letter|memo|inventory|photographs)\b/i) {
    10071007        # Don't bother trying to parse the reference
    10081008    }
Note: See TracChangeset for help on using the changeset viewer.