lua-users home
lua-l archive

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


I have following problem with strings. I want to use string.gsub to modify big string. However I don't want string.gsub to affect whole string. There are some parts that should be left as they are. For a example in a string containing C language file you could let string.gsub modify everything else except chars between the comments (/* .. */). Any ideas how to implement this?