Author Topic: Regular expressions documentation  (Read 1058 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2097
  • Hero Points: 189
  • Text
Regular expressions documentation
« on: August 02, 2016, 09:49:12 pm »
[\X]: It isn't clearly documented what letters for "X" are supported.
For example: [\b] matches backspace.
What others?

Perl: \K: Doc says unsupported, but it seems to work.
Perl: \pL and \PL are undocumented, but work.


/z: This should work during "<Current selection>" match to match the end of the selection.



Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 5514
  • Hero Points: 446
Re: Regular expressions documentation
« Reply #1 on: August 02, 2016, 11:40:50 pm »
Docs could definitely be better for [\x] backslash docs. We will improve them. Anything that specifies either a character or set of characters works (\pL).

\K really isn't implemented. At a minimum, the feature isn't finished. I think it works with sgrep though. We may complete the implementation for the editor in the future.

/z doesn't support selections. I think it could be added though.