Files
neovim/test/functional
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
..
2020-12-04 13:29:44 +01:00
2020-07-03 00:55:14 +05:30
2019-11-27 22:47:25 -08:00
2020-12-05 20:18:51 +09:00
2020-10-19 21:48:06 +02:00
2020-12-01 00:57:52 +01:00