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

优化匹配表格格式的正则表达式 #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

优化匹配表格格式的正则表达式 #25

wants to merge 1 commit into from

Conversation

hsrzq
Copy link

@hsrzq hsrzq commented Aug 18, 2016

修改前的正则匹配不了 |-|-| 这种表格样式,
修改后的正则更通用一点,可以匹配以下样式:
|-|-|,-|-|-,|-|-,-|-|等全部都可以正确识别
包含对齐操作的表格标记也全部正常~~

修改前的正则匹配不了 |-|-| 这种表格样式,
修改后的正则更通用一点,可以匹配以下样式:
|-|-|,-|-|-,|-|-,-|-|等全部都可以正确识别
包含对齐操作的表格标记也全部正常~~
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

1 participant