InputRegexp may be used in place of InputLiteral to recognize line terminators based on a regular expression.