Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Word boundaries don't seem to work #36

Open
kennethgillen opened this issue Sep 1, 2016 · 0 comments
Open

Word boundaries don't seem to work #36

kennethgillen opened this issue Sep 1, 2016 · 0 comments

Comments

@kennethgillen
Copy link

kennethgillen commented Sep 1, 2016

Hi,

OS X 10.10.5
Chrome Version 52.0.2743.116 (64-bit)
Regex Search: 1.8

Search for \bhe\b at a page like: http://www.tldp.org/HOWTO/Software-RAID-HOWTO-11.html

  • words including he like the are highlighted as matches.

I'm not sure why, but the the on this page - http://www.tldp.org/LDP/LDP-Author-Guide/html/process.html - are not matched.

Javascript regex does include word boundary \b as far as I know, so I'm not sure why it doesn't seem to work here.

What's quite odd, is that on the same page \btead\b has no matches, but tead\b correctly matches "instead". I can't imagine why "the" is matching \bhe\b, if \btead\b doesn't match "instead".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant