twitter/bootstrap — pull request #4801 by scomma (2012-08-29 03:27:45+00:00)
Title: Allow ScrollSpy to match non-latin anchors

Currently it's using `\w` to test link validity. ScrollSpy shouldn't
be in the business of specifying which anchors are valid or not. In
this case anchors like `#^_^` or `#香港` will fail even though browser
recognizes them just fine.