stein197/lua-string

regex != pattern

Closed this issue · 1 comments

Throughout the readme, comments and code itself the term 'regex' is used.
This is misleading, lua patterns aren't regular expressions so you probably shouldn't hint to the users that they are.

They should probably be renamed to 'pattern' where appropriate

Replaced "regex" with "pattern" where possible (see commit b374633). string.*regex*() methods are deprecated. But as far as I know, strictly saying, Lua patterns are regular expressions too