The dk.brics.automaton library seems to be fairly popular, but it doesn't have its own forum so I'm hoping someone here can answer this.

If I understand the docs correctly, there's no way it could support the common '$' end-of-line marker because it doesn't support lookahead. However, does it support the '^' beginning-of-line marker? That's all I really need.

If not, I suppose it could be simulated with an expression like "(\r|\n)whatever I want to match"... right?