==== tests/cases/conformance/parser/ecmascript5/RegularExpressions/parserRegularExpression1.ts (1 errors) ==== return /(#?-?\d*\.\d\w*%?)|(@?#?[\w-?]+%?)/g; ~~~~~~ !!! A 'return' statement can only be used within a function body.