diff options
author | Adam Scarr <adam@vektah.net> | 2017-08-13 22:11:27 +1000 |
---|---|---|
committer | Adam Scarr <adam@vektah.net> | 2017-08-13 22:11:27 +1000 |
commit | ddb61bdfc034a683f755dec6ddc80627d2d43522 (patch) | |
tree | 5d3192d70c5d2a4c62a2be8b8d11de2b0455546b /state.go | |
parent | 139e7606f4ab68b469438956c378745f51f7b65b (diff) |
Add an Until function
Diffstat (limited to 'state.go')
-rw-r--r-- | state.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -44,6 +44,10 @@ func UnicodeWhitespace(s *State) { } s.Pos += w } +} + +// NoWhitespace disables automatic whitespace matching +func NoWhitespace(s *State) { } |