Ignore:
Timestamp:
2015-07-20T18:06:13+12:00 (9 years ago)
Author:
ak19
Message:

Georgy Litvinov had fixed the regexes accepted by GLI to take a single backslash now instead of the old way of using a double backslash to handle escaping.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documentation/trunk/tutorial_sample_files/beatles/advbeat_large/etc/collect.cfg

    r23547 r30044  
    2727plugin  DirectoryPlugin
    2828
    29 # (\\s+[.*) in removesuffix is to remove eg [sound recording] from the Title. Greenstone escapes [] as they are used to represent metadata format elements, hence the use of [ instead of \\[ in the regex.
    30 classify    AZCompactList -mingroup 1 -metadata dc.Title,Title -minnesting 20 -firstvalueonly -removesuffix "(?i)(\\s+\\d+)|(\\s*[[:punct:]]\\s+.*)|(\\s+[.*)|(\\s*by the beatles\\s*)" -buttonname Title -removeprefix (?i)\\s*beatles\\s+\\-\\s+
     29# (\s+[.*) in removesuffix is to remove eg [sound recording] from the Title. Greenstone escapes [] as they are used to represent metadata format elements, hence the use of [ instead of \[ in the regex.
     30classify    AZCompactList -mingroup 1 -metadata dc.Title,Title -minnesting 20 -firstvalueonly -removesuffix "(?i)(\s+\d+)|(\s*[[:punct:]]\s+.*)|(\s+[.*)|(\s*by the beatles\s*)" -buttonname Title -removeprefix (?i)\s*beatles\s+\-\s+
    3131classify    AZCompactList -metadata dc.Format -buttonname Browse -sort Title
    3232# classify  Phind
Note: See TracChangeset for help on using the changeset viewer.