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

修复使用中解析出现的问题 #50

Merged
merged 1 commit into from Jul 22, 2015

Conversation

xch89820
Copy link
Contributor

当解析形如 <a href="#setter" target="blank"></a> 这种标签时,解析器会误将#setter 解析为#set语法并进入set分析分支,而后报错。因此在正则匹配中加入/[a-zA-Z0-9],用以避免匹配错误。如有更好的方法,请指正。

Jone Casper
2015/07/22

@shepherdwind
Copy link
Owner

加一个用例吧

shepherdwind added a commit that referenced this pull request Jul 22, 2015
修复使用中解析出现的问题
@shepherdwind shepherdwind merged commit 7ac3908 into shepherdwind:master Jul 22, 2015
shepherdwind added a commit that referenced this pull request Jul 22, 2015
@shepherdwind
Copy link
Owner

我给你加了用例,并且发布了0.7.0。你可以试试

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 this pull request may close these issues.

None yet

2 participants