JGCSCS
4
HTML
*.html;*.htm;*.shtml
JGsoft
support@editpadpro.com
http://www.editpadpro.com
http://www.w3.org/MarkUp/
TRUE
0
6
Example
0
TRUE
6
Opening tag
<[a-zA-Z][a-zA-Z0-9]*+
FALSE
FALSE
2
0
3
FALSE
Closing tag
[a-zA-Z][a-zA-Z0-9]*+>
FALSE
FALSE
2
0
0
FALSE
HTML comment
FALSE
0
<
>
FALSE
0
(
)
TRUE
3
[
]
TRUE
3
{
}
TRUE
3
4
HTML Tag
1
0
FALSE
6
Closing bracket
Ends the HTML tag and continues with plain text
>
FALSE
FALSE
2
0
2
FALSE
HTML Attribute
\s++[a-zA-Z]++
FALSE
FALSE
3
0
0
FALSE
Double-quoted value
Attribute value enclosed by double quotes. Quote character can be escaped with \
=\s*+"
FALSE
FALSE
4
0
5
FALSE
Single-quoted value
Attribute value enclosed by single quotes. Quote character can be escaped with \
=\s*+'
FALSE
FALSE
4
0
6
FALSE
Value
Attribute value that is not quoted
=\s*+[A-Za-z0-9_]++
FALSE
FALSE
4
0
0
FALSE
Another tag
Though not valid in HTML, we permit < tags to keep syntax coloring consistent while the file is being edited
(?=<)
FALSE
FALSE
2
0
2
FALSE
HTML Comment
1
5
FALSE
3
Closing -->
-->
FALSE
FALSE
5
0
2
FALSE
URL
\b(?:https?|ftp|file)://[-A-Z0-9+&@#/%?=~_|!:,.]*[-A-Z0-9+&@#/%=~_|]
TRUE
FALSE
1
1
0
FALSE
email address
\b(?:mailto:)?+[A-Z0-9._%-]++@[A-Z0-9._%-]+\.[A-Z]{2,4}\b
TRUE
FALSE
1
3
0
FALSE
Double-quoted value
1
4
FALSE
5
Closing quote
Non-escaped quote ends the attribute
(? bracket, assume the HTML tag ends here
>
FALSE
FALSE
2
0
2
FALSE
URL
\b(?:https?|ftp|file)://[-A-Z0-9+&@#/%?=~_|!:,.]*[-A-Z0-9+&@#/%=~_|]
TRUE
FALSE
1
1
0
FALSE
email address
\b(?:mailto:)?[A-Z0-9._%-]++@[A-Z0-9._%-]+\.[A-Z]{2,4}\b
TRUE
FALSE
1
3
0
FALSE
Another tag
Though not valid in HTML, we permit < tags to keep syntax coloring consistent while the file is being edited
(?=<)
FALSE
FALSE
2
0
2
FALSE
Single-quoted value
1
4
FALSE
5
Closing quote
Non-escaped quote ends the attribute
(? bracket, assume the HTML tag ends here
>
FALSE
FALSE
2
0
2
FALSE
URL
\b(?:https?|ftp|file)://[-A-Z0-9+&@#/%?=~_|!:,.]*[-A-Z0-9+&@#/%=~_|]
TRUE
FALSE
1
1
0
FALSE
email address
\b(?:mailto:)?[A-Z0-9._%-]++@[A-Z0-9._%-]+\.[A-Z]{2,4}\b
TRUE
FALSE
1
3
0
FALSE
Another tag
Though not valid in HTML, we permit < tags to keep syntax coloring consistent while the file is being edited
(?=<)
FALSE
FALSE
2
0
2
FALSE