Token Types
Token type can be different depends on the applications. Table below shows a common use for these token types.
Token Type | Characters example | condition | Clean-up Action | ||||||||||||
Token | N/A |
|
| ||||||||||||
Space Delimiter | space, tab |
|
| ||||||||||||
Stripped | N/A |
|
| ||||||||||||
Restore Delimiter | ( { [ < " ' |
|
| ||||||||||||
Striping Delimiter | ) } ] ! ? >
Strippable Delimiter | , . : ; | Conflict List | - , : ; space | Non-Delimiter Punctuation List | - _ @ # % & * \ ~ + = | $ ` ^ / | |
Notes: Punctuations: " ' and / are not handled gracefully.