literal find?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: literal find?
- From: PA <petite.abeille@...>
- Date: 2005年3月14日 13:03:04 +0100
Hello,
I have a little template class which would benefit from "literal"
matching (e.g. no pattern resolution, just find text "as is"):
http://dev.alt.textdrive.com/file/LW/LWTemplate.lua
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 :)
Cheers
--
PA, Onnay Equitursay
http://alt.textdrive.com/