Help with rex and sandr

Post Reply
barry.marcus
Posts: 288
Joined: Thu Nov 16, 2006 1:05 pm

Help with rex and sandr

Post by barry.marcus »

I've implemented this search and replace function:

<sandr "\alpha+~=" "(@suffixproc\\=0,\1)" $inWord>

that turns:

theWord~

into:

(@suffixproc\=0,theWord)

Now I'm trying to figure out the reverse function? That is, what rex expression in a call to sandr would turn

(@suffixproc\=0,theWord)

into

theWord~

Thanks, as usual, for your help.
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Help with rex and sandr

Post by mark »

<sandr ">>(@suffixproc\\\=0,=\alpha+)" "\2~" $term>
barry.marcus
Posts: 288
Joined: Thu Nov 16, 2006 1:05 pm

Help with rex and sandr

Post by barry.marcus »

Thanks
Post Reply