in reply to Re: arithmetic in a regex ?
in thread arithmetic in a regex ?

I try to combine a coding in a two dimensional room (x,y). Explaining all the details would not help here. If a simple modification in the search string would be possible, I guess the problem could be solved quite elegant (like the e modifier). But I am not aware if this is possible. So i generated a simplified question. How to write a function, solving this is clear for me. But as usual, I try to solve it elegant and also learn something new.

Thanks ALL for your help and time !!