diff options
author | gbrandl <devnull@localhost> | 2008-04-26 20:18:23 +0200 |
---|---|---|
committer | gbrandl <devnull@localhost> | 2008-04-26 20:18:23 +0200 |
commit | 72235f16ba387b95f0e8032b13764ccb288ae444 (patch) | |
tree | 9d9c93a5a0f6c330a6378076ac5a6bfcfea0df6c | |
parent | dc713642003e9bb042039cd49afb19b07b7087a8 (diff) | |
download | pygments-72235f16ba387b95f0e8032b13764ccb288ae444.tar.gz |
Add note about empty regex.
-rw-r--r-- | docs/src/lexerdevelopment.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/src/lexerdevelopment.txt b/docs/src/lexerdevelopment.txt index 0d19c967..d7961bfc 100644 --- a/docs/src/lexerdevelopment.txt +++ b/docs/src/lexerdevelopment.txt @@ -307,6 +307,9 @@ There are a few more things you can do with states: by putting values into the stack that don't exist in the token map. Also removing ``'root'`` from the stack can result in strange errors! +- An empty regex at the end of a state list, combined with ``'#pop'``, can + act as a return point from a state that doesn't have a clear end marker. + Using multiple lexers ===================== |