Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
phelp:helplistmatch [2023/11/01 01:30]
Rick
phelp:helplistmatch [2023/11/01 01:34] (current)
Rick
Line 33: Line 33:
 it then matches only subfields beginning with the string: it then matches only subfields beginning with the string:
  
-$aLibrarians +  $aLibrarians 
-$aLibraries and people with disabilities +  $aLibraries and people with disabilities 
-$aLibrary catalogs+  $aLibrary catalogs
  
 Matching to the end of a field is a bit harder, because a pattern like: Matching to the end of a field is a bit harder, because a pattern like:
Line 45: Line 45:
 will still match a heading like: will still match a heading like:
  
-$aLibraries and people with disabilities+  $aLibraries and people with disabilities
  
-because of the 'greediness' of the regular expression support in the program. So what we would have to do is something like this:+due to the 'greediness' of the regular expression support in the program. So what we would have to do is something like this:
  
   DATA=libraries$||library$||librarians$||librarianship$   DATA=libraries$||library$||librarians$||librarianship$
Line 54: Line 54:
  
 turning on case-sensitivity so that we do not match '$aLibraries' (additionally, we could add a blank space in front of our search terms). turning on case-sensitivity so that we do not match '$aLibraries' (additionally, we could add a blank space in front of our search terms).
- 
  
 VALUE LIST MATCH VALUE LIST MATCH
  
-Value list string matching was added to the program in version 236. The purpose of a value list is to support a controlled vocabulary. Examples of value lists are everything from the 'MARC Code List for Languagess' to the Library of Congress Subject Headings. +Value list string matching was added to the program in version 236. The purpose of a value list is to support a controlled vocabulary. Examples of value lists are everything from the 'MARC Code List for Languages' to the Library of Congress Subject Headings. 
  
 Ideally, MARC fields that are to contain data from a controlled vocabulary should be entered using dropdown menus that contain all available values. For example, in MARC Report we may click on the 008 element for 'Language' and press <F1> to select from a list of all valid Language codes. However, this type of data entry may not be feasible for a large list of subject headings, which may contain many thousands (or hundreds of thousands) of items. Ideally, MARC fields that are to contain data from a controlled vocabulary should be entered using dropdown menus that contain all available values. For example, in MARC Report we may click on the 008 element for 'Language' and press <F1> to select from a list of all valid Language codes. However, this type of data entry may not be feasible for a large list of subject headings, which may contain many thousands (or hundreds of thousands) of items.
phelp/helplistmatch.txt · Last modified: 2023/11/01 01:34 by Rick
Back to top
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki