I before E except after C: Difference between revisions
Content added Content deleted
m (→AppleScript :: Functional: Updated patterns) |
|||
Line 560: | Line 560: | ||
on |λ|(s) |
on |λ|(s) |
||
set ca to current application |
set ca to current application |
||
((ca's NSRegularExpression's ¬ |
|||
regularExpressionWithPattern:regexString ¬ |
regularExpressionWithPattern:regexString ¬ |
||
options: |
options:(ca's NSRegularExpressionAnchorsMatchLines) ¬ |
||
|error|:(missing value) |
|error|:(missing value))'s ¬ |
||
numberOfMatchesInString:s ¬ |
|||
options:0 ¬ |
|||
range:{location:0, |length|:s's |length|()}) as integer |
|||
end |λ| |
end |λ| |
||
end script |
end script |