Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Support more anchors (meta-issue) #9

Closed
4 of 8 tasks
kddnewton opened this issue Jul 6, 2021 · 0 comments
Closed
4 of 8 tasks

Support more anchors (meta-issue) #9

kddnewton opened this issue Jul 6, 2021 · 0 comments
Labels

Comments

@kddnewton
Copy link
Owner

kddnewton commented Jul 6, 2021

We already support some anchors for regex, but we should support all of them. They are listed below:

  • ^ - Matches beginning of line
  • $ - Matches end of line
  • \A - Matches beginning of string.
  • \Z - Matches end of string. If string ends with a newline, it matches just before newline
  • \z - Matches end of string
  • \G - Matches first matching position
  • \b - Matches word boundaries when outside brackets; backspace (0x08) when inside brackets
  • \B - Matches non-word boundaries
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant