swordjs
Version:
swordjs - access modules from crosswire.org/sword in JS
9 lines • 413 B
text/coffeescript
osis: ["Ps"]
extra: "1"
regexp: ///(\b)((?:
(?: (?: 1 [02-5] | [2-9] )? (?: 1 #{bcv_parser::regexps.space}* st | 2 #{bcv_parser::regexps.space}* nd | 3 #{bcv_parser::regexps.space}* rd ) ) # Allow 151st Psalm
| 1? 1 [123] #{bcv_parser::regexps.space}* th
| (?: 150 | 1 [0-4] [04-9] | [1-9] [04-9] | [4-9] ) #{bcv_parser::regexps.space}* th
)
#{bcv_parser::regexps.space}* Psalm
)\b///gi