-
Notifications
You must be signed in to change notification settings - Fork 96
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
Implement Absent Operator #82
Comments
Akira's paper says that look-ahead assertion doesn't have theoretical backgrounds. However @sinya8282 says that look-ahead assertion is a regular expression (in context of formal language theory), and it can be proved by using boolean automaton. |
It seems that |
(?~subexp) matches any string which doesn't have subexp as its suffix. This is based on Tanaka Akira's paper and slide: * https://staff.aist.go.jp/tanaka-akira/pub/prosym49-akr-paper.pdf * https://staff.aist.go.jp/tanaka-akira/pub/prosym49-akr-presen.pdf
|
This is discussed in a paper by Akimasa MORIHATA: |
* Support absent operator k-takata/Onigmo#82 * https://github.com/k-takata/Onigmo/blob/Onigmo-6.1.1/HISTORY git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Merge Onigmo 6.1.1 * Support absent operator k-takata/Onigmo#82 * https://github.com/k-takata/Onigmo/blob/Onigmo-6.1.1/HISTORY git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Slide and paper by Akira Tanaka (@akr) (both Japanese):
TODO:
Maybe the form of
(?...)
should be used. For example(?~...)
?Is it easy?
The text was updated successfully, but these errors were encountered: