Files
neovim/test/functional/core
Edwin Pujols f2ec058602 tests: Take into account magic hyphen. (#13518)
In Lua patterns the hyphen works like a non-greedy version of Vim's `*`.
- Use `%-` when you need a literal hyphen.
- If you don't need a regular expression at all, use something like
  ```
  string.find(text, pattern, 1, true)
  ```
  so that the pattern is regarded as a plain, non-magical string.
  See [1] and [2] in the Lua manual.

[1]: https://www.lua.org/manual/5.1/manual.html#pdf-Patterns
[2]: https://www.lua.org/manual/5.1/manual.html#pdf-string.find
2020-12-11 18:54:39 -05:00
..
2019-09-04 06:58:04 -07:00
2020-10-19 21:48:06 +02:00
2020-10-19 21:48:06 +02:00
2017-10-02 01:46:16 +02:00
2019-05-05 23:01:35 +02:00