mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-10 05:22:23 +00:00
286 lines
6.5 KiB
Plaintext
286 lines
6.5 KiB
Plaintext
|
---input---
|
||
|
<script type="text/javascript">
|
||
|
alert("hi");
|
||
|
alert("hi");
|
||
|
alert("hi");
|
||
|
alert("hi");
|
||
|
alert("hi");
|
||
|
alert("hi");
|
||
|
alert("hi");
|
||
|
alert("hi");
|
||
|
alert("hi");
|
||
|
alert("hi");
|
||
|
alert("hi");
|
||
|
alert("hi");
|
||
|
alert("hi");
|
||
|
alert("hi");
|
||
|
alert("hi");
|
||
|
alert("hi");
|
||
|
alert("hi");
|
||
|
alert("hi");
|
||
|
alert("hi");
|
||
|
alert("hi");
|
||
|
alert("hi");
|
||
|
alert("hi");
|
||
|
alert("hi");
|
||
|
alert("hi");
|
||
|
alert("hi");
|
||
|
alert("hi");
|
||
|
alert("hi");
|
||
|
alert("hi");
|
||
|
alert("hi");
|
||
|
alert("hi");
|
||
|
alert("hi");
|
||
|
alert("hi");
|
||
|
alert("hi");
|
||
|
// Note the missing </script> tag; this should not cause catastrophic backtracking
|
||
|
|
||
|
---tokens---
|
||
|
'<' Punctuation
|
||
|
'script' Name.Tag
|
||
|
' ' Text
|
||
|
'type' Name.Attribute
|
||
|
'=' Operator
|
||
|
'"text/javascript"' Literal.String
|
||
|
'>' Punctuation
|
||
|
'' Text
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'alert' Name.Other
|
||
|
'(' Punctuation
|
||
|
'"hi"' Literal.String.Double
|
||
|
')' Punctuation
|
||
|
';' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'alert' Name.Other
|
||
|
'(' Punctuation
|
||
|
'"hi"' Literal.String.Double
|
||
|
')' Punctuation
|
||
|
';' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'alert' Name.Other
|
||
|
'(' Punctuation
|
||
|
'"hi"' Literal.String.Double
|
||
|
')' Punctuation
|
||
|
';' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'alert' Name.Other
|
||
|
'(' Punctuation
|
||
|
'"hi"' Literal.String.Double
|
||
|
')' Punctuation
|
||
|
';' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'alert' Name.Other
|
||
|
'(' Punctuation
|
||
|
'"hi"' Literal.String.Double
|
||
|
')' Punctuation
|
||
|
';' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'alert' Name.Other
|
||
|
'(' Punctuation
|
||
|
'"hi"' Literal.String.Double
|
||
|
')' Punctuation
|
||
|
';' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'alert' Name.Other
|
||
|
'(' Punctuation
|
||
|
'"hi"' Literal.String.Double
|
||
|
')' Punctuation
|
||
|
';' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'alert' Name.Other
|
||
|
'(' Punctuation
|
||
|
'"hi"' Literal.String.Double
|
||
|
')' Punctuation
|
||
|
';' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'alert' Name.Other
|
||
|
'(' Punctuation
|
||
|
'"hi"' Literal.String.Double
|
||
|
')' Punctuation
|
||
|
';' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'alert' Name.Other
|
||
|
'(' Punctuation
|
||
|
'"hi"' Literal.String.Double
|
||
|
')' Punctuation
|
||
|
';' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'alert' Name.Other
|
||
|
'(' Punctuation
|
||
|
'"hi"' Literal.String.Double
|
||
|
')' Punctuation
|
||
|
';' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'alert' Name.Other
|
||
|
'(' Punctuation
|
||
|
'"hi"' Literal.String.Double
|
||
|
')' Punctuation
|
||
|
';' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'alert' Name.Other
|
||
|
'(' Punctuation
|
||
|
'"hi"' Literal.String.Double
|
||
|
')' Punctuation
|
||
|
';' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'alert' Name.Other
|
||
|
'(' Punctuation
|
||
|
'"hi"' Literal.String.Double
|
||
|
')' Punctuation
|
||
|
';' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'alert' Name.Other
|
||
|
'(' Punctuation
|
||
|
'"hi"' Literal.String.Double
|
||
|
')' Punctuation
|
||
|
';' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'alert' Name.Other
|
||
|
'(' Punctuation
|
||
|
'"hi"' Literal.String.Double
|
||
|
')' Punctuation
|
||
|
';' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'alert' Name.Other
|
||
|
'(' Punctuation
|
||
|
'"hi"' Literal.String.Double
|
||
|
')' Punctuation
|
||
|
';' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'alert' Name.Other
|
||
|
'(' Punctuation
|
||
|
'"hi"' Literal.String.Double
|
||
|
')' Punctuation
|
||
|
';' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'alert' Name.Other
|
||
|
'(' Punctuation
|
||
|
'"hi"' Literal.String.Double
|
||
|
')' Punctuation
|
||
|
';' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'alert' Name.Other
|
||
|
'(' Punctuation
|
||
|
'"hi"' Literal.String.Double
|
||
|
')' Punctuation
|
||
|
';' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'alert' Name.Other
|
||
|
'(' Punctuation
|
||
|
'"hi"' Literal.String.Double
|
||
|
')' Punctuation
|
||
|
';' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'alert' Name.Other
|
||
|
'(' Punctuation
|
||
|
'"hi"' Literal.String.Double
|
||
|
')' Punctuation
|
||
|
';' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'alert' Name.Other
|
||
|
'(' Punctuation
|
||
|
'"hi"' Literal.String.Double
|
||
|
')' Punctuation
|
||
|
';' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'alert' Name.Other
|
||
|
'(' Punctuation
|
||
|
'"hi"' Literal.String.Double
|
||
|
')' Punctuation
|
||
|
';' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'alert' Name.Other
|
||
|
'(' Punctuation
|
||
|
'"hi"' Literal.String.Double
|
||
|
')' Punctuation
|
||
|
';' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'alert' Name.Other
|
||
|
'(' Punctuation
|
||
|
'"hi"' Literal.String.Double
|
||
|
')' Punctuation
|
||
|
';' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'alert' Name.Other
|
||
|
'(' Punctuation
|
||
|
'"hi"' Literal.String.Double
|
||
|
')' Punctuation
|
||
|
';' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'alert' Name.Other
|
||
|
'(' Punctuation
|
||
|
'"hi"' Literal.String.Double
|
||
|
')' Punctuation
|
||
|
';' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'alert' Name.Other
|
||
|
'(' Punctuation
|
||
|
'"hi"' Literal.String.Double
|
||
|
')' Punctuation
|
||
|
';' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'alert' Name.Other
|
||
|
'(' Punctuation
|
||
|
'"hi"' Literal.String.Double
|
||
|
')' Punctuation
|
||
|
';' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'alert' Name.Other
|
||
|
'(' Punctuation
|
||
|
'"hi"' Literal.String.Double
|
||
|
')' Punctuation
|
||
|
';' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'alert' Name.Other
|
||
|
'(' Punctuation
|
||
|
'"hi"' Literal.String.Double
|
||
|
')' Punctuation
|
||
|
';' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'alert' Name.Other
|
||
|
'(' Punctuation
|
||
|
'"hi"' Literal.String.Double
|
||
|
')' Punctuation
|
||
|
';' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'// Note the missing ' Comment.Single
|
||
|
'<' Punctuation
|
||
|
'/' Punctuation
|
||
|
'script' Name.Tag
|
||
|
'>' Punctuation
|
||
|
' tag; this should not cause catastrophic backtracking\n' Text
|