[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Binary scanner not matching character ranges
From: |
Shaun Jackman |
Subject: |
Re: Binary scanner not matching character ranges |
Date: |
Sat, 18 Dec 2004 09:25:44 -0800 |
Thanks for your help. I figured it would be something I'd
misunderstood. Will flex print a human-readable form of the NFA/DFA so
that I can check for these mistakes myself?
Cheers,
Shaun
> Note that a dot in a quoted string matches a literal
> dot character, whereas an unquoted dot matches any
> character except a newline. So input 0xff 0xfd 0x03
> does *NOT* match "\xff\xfd." (but 0xff 0xfd 0x2e
> would). Lacking a match with any other rule, each
> of 0xff, 0xfd, and 0x03 match the lone dot rule.