lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I have a little template class which would benefit from "literal" matching (e.g. no pattern resolution, just find text "as is"):

The template uses 2 simple constructs: "(v:aVariableName)" and "(t:aTemplateName)".

Is there a way to tell the different string function to use a string "as is" without having to escape every single magic character?

Alternatively, does anyone have an handy function to automatically escape all those magic characters?

Thanks :)


PA, Onnay Equitursay