Got this simple grammar:
grammar H1 {
token TOP { <h1> }
token h1 { \# }
}
Results in: Null regex not allowed Missing block
Google turns up next to nothing on it.
Got this simple grammar:
grammar H1 {
token TOP { <h1> }
token h1 { \# }
}
Results in: Null regex not allowed Missing block
Google turns up next to nothing on it.
Still not sure why escaping doesn't work, but this does:
grammar H1 {
token TOP { <h1> }
token h1 { '#' }
}