regex variable pattern
Posted: Thu Jun 09, 2005 4:46 pm
I was wondering if it is possible to use a variable for a pattern in a regex. My code looks something like the following.
Obviously this doesn't work, but hopeful explains what I am trying to do.
Code: Select all
(set 'var1 (pop some-stack))
(if (find var1 var2 0)
;continue execution here
)