Bump regex-syntax from 0.8.10 to 0.8.11 (#13)
Bumps regex-syntax from 0.8.10 to 0.8.11.
Commits
Dependabot will resolve any conflicts with this PR as long as you don’t alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Signed-off-by: dependabot[bot] support@github.com Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
Derivative based regex matcher
For basic introduction see Regular-expression derivatives reexamined.
For extensions, see Derivative Based Nonbacktracking Real-World Regex Matching with Backtracking Semantics and Derivative Based Extended Regular Expression Matching Supporting Intersection, Complement and Lookarounds and the sbre implementation of it.
Usage
This library uses regex-syntax for regular expression parsing. This means that currently there is no surface syntax for
&and~operators (but the library supports it).The library only checks if the regex matches the string from the beginning (it doesn’t search for it, or in other words there’s an implied
\Aat the beginning).The library supports a single look-ahead at the end of the regex, written as
A(?P<stop>B)whereAandBare regexes without any look-arounds. You can get the length of the string matchingBupon successful match.Code map
In recommended reading order:
regex-syntaxcrate for parsingThe rest:
TODO
&and~operators& valid-utf8if there is negation somewherederivative()non-recursive (mk_*()already are?) or limit the regex depth&and~operators; see symbolic derivatives.forced_byte()method on state descriptorContributing
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
Trademarks
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft’s Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party’s policies.