Commit 0a6ff31c authored by Jay Herron's avatar Jay Herron

Adjusted Str and Uri detection to ignore escaped characters.

parent 037b973b
......@@ -35,9 +35,9 @@ public class TrioScanner extends RuleBasedScanner {
// Rec split
rules[2] = new SingleLineRule("---", "", split);
// String
rules[3] = new SingleLineRule("\"", "\"", string);
// Uri (format as string)
rules[4] = new SingleLineRule("`", "`", uri);
rules[3] = new SingleLineRule("\"", "\"", string, '\\');
// Uri
rules[4] = new SingleLineRule("`", "`", uri, '\\');
// Coordinates
rules[5] = new SingleLineRule("C(", ")", coordinate);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment