1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
#insertparameterizedsubfield(")) {
# final String args[] = getFourArgs(command); // 856, "$z${1}","b", "(.*)"
001_0 = subfieldmatches("", "[0-9]*-[0-9]*")=>replace("", "[0-9]*-([0-9]*)", "$1")
#245_0 = subfieldexists("b")=>both(insertparameterizedsubfield("856", "$z${2}", "b", ".*(Indicator|Variable|Industry|State|Country|Category):[ ]*([^;]*)([;]?.*|$)"),deletesubfield("b"))
245_0 = subfieldexists("b")=>both(insertparameterizedsubfield("856", "$z${2}", "b", ".*Date Type: (Year|Qtr|Election Year); (.*)$"),deletesubfield("b"))
856_0 = subfieldmatches("z", "[$][{][2][}]")=>replace("z", "^.*$", "Access Dataset")
856_1 = subfieldmatches("u", ".*view=RANKING.*")=>append("z", " -- Ranking")
856_2 = subfieldmatches("u", ".*view=TREND.*")=>append("z", " -- Trend")
651_0 = and(subfieldmatches("a", "International"),subfieldexists("z"))=>both(both(insertparameterizedfield("651 4$a${1}", "z", "(.*)"),deletesubfield("z")),repeat())
|