set asocPattern to current application's NSRegularExpression's regularExpressionWithPattern:asNormalizedNSString(theText as text) options:flagOptions |error|:(missing value) -- NSRegularExpression doesn't return detailed error descriptions, so just use generic error description below