Skip to content

Commit

Permalink
Merge pull request #189 from SeeSharpSoft/fb_backslash_lexer_fix
Browse files Browse the repository at this point in the history
[FIX] consider escape char inside quotes as escaped text
  • Loading branch information
SeeSharpSoft committed Mar 7, 2020
2 parents 4b7ccd9 + 1647d1c commit 071203c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Expand Up @@ -93,6 +93,7 @@ WHITE_SPACE=[ \f]+
default:
throw new RuntimeException("unhandled state: " + yystate());
}
return CsvTypes.ESCAPED_TEXT;
}
return CsvTypes.TEXT;
}
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/intention/UnquoteAllBackslash/after.csv
@@ -1,3 +1,3 @@
Header \\1\\, "Header, 2"
"Header \\1\\", "Header, 2"
"Value \"1\"", Value 2
"back\\\"\"\\slash\\"

0 comments on commit 071203c

Please sign in to comment.