Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Add word boundary check to period tokenizer regex. #2

Merged
merged 1 commit into from Sep 28, 2012

Conversation

Projects
None yet
2 participants

When only a millisecond based period is provided (e.g. "45 milliseconds"), the period is recognized as minutes ("45m").
This commit adds a word boundary check to the tokenizer regex to distinguish between minutes and milliseconds.

@fschaefer fschaefer Add word boundary check to period tokenizer regex.
When only a millisecond based period is provided (e.g. "45 milliseconds"), the period is recognized as minutes ("45m").
This commit adds a word boundary check to the tokenizer regex to distinguish between minutes and milliseconds.
e897c5b

@Twipped Twipped added a commit that referenced this pull request Sep 28, 2012

@Twipped Twipped Merge pull request #2 from fschaefer/master
Add word boundary check to period tokenizer regex.
eb025bd

@Twipped Twipped merged commit eb025bd into Twipped:master Sep 28, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment