ts [mailto:decoux@moulon.inra.fr] informs:
…irb(main):001:0> def findPosRE(str, re)
irb(main):002:1> m = %r{#{re}}.match(str)
SyntaxError: compile error
(irb):2: syntax error
from (irb):2
^^^^^^^^^^^^^^^^Well, apparently this is corrected with irb 0.9 which is in 1.7.3
pigeon% irb
irb(main):001:0> def findPosRE(str, re)
irb(main):002:1> m = %r{#{re}}.match(str)
irb(main):003:1> end
nil
irb(main):004:0>
pigeon%pigeon% irb -v
irb 0.9(02/07/03)
pigeon%
Many thanks for the help, sir Guy.
’ will update now…
-botp