Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
replacerx multiple matches in callback
#2
I sort of figured it out.

Code:
Copy      Help
function# REPLACERXCB&x

str s1.get(x.match x.vec[1].cpMin x.vec[1].cpMax)
str s2.get(x.match x.vec[2].cpMin x.vec[2].cpMax)

x.match=F"{s1.lcase} ~ {s2.ucase}"


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)