-
-
Notifications
You must be signed in to change notification settings - Fork 640
string.escapepattern
starkos edited this page Apr 10, 2021
·
3 revisions
This wiki is no longer being maintained.
Escapes the string for use in Lua patterns. Escapes the following characters ( ) . % + - * ? [ ] ^ $ with %.
escaped = string.escapepattern("s")s is the string to escape.
Returns the input string escaped for use in Lua patterns.
local match = filename:match(string.escapepattern("boost_filesystem-vc140.1.61.0.0"))Premake 5.0 or later.