I before E except after C: Difference between revisions

m
m (→‎AppleScript :: Functional: Updated patterns)
Line 560:
on |λ|(s)
set ca to current application
set oRgx to ((ca's NSRegularExpression's ¬
regularExpressionWithPattern:regexString ¬
options:((ca's NSRegularExpressionAnchorsMatchLines)) ¬
|error|:(missing value))'s ¬
numberOfMatchesInString:s ¬
(oRgx's numberOfMatchesInString options:s0 ¬
options:0 range:{location:0, |length|:s's |length|()}) as integer
end |λ|
end script
9,655

edits