@{<bident1> <bident2>} not working when <bident2> contains a…

 new new list compose Reply to this message Top page
Attachments:
+ (text/plain)
+ (text/html)

Delete this message
Author: vapnik spaknik
Date:  
To: txr-users@kylheku.com
Subject: @{<bident1> <bident2>} not working when <bident2> contains a regexp
Hi Kaz, 
           I am unable to get the @{<bident1> <bident2>} form to work when <bident2> contains a regexp.
For example when I run "echo 'foo' | txr test.txr -" with test.txr containing this code:

@(bind rxtest #/foo/)
@(output)
@rxtest
@(end)
@{test rxtest}
@(output)
@test
@(end)

I get the following output & error:

#/foo/
txr: unhandled exception of type query-error:
txr: (source location n/a) unsupported object in spec: rxtest
txr: run with --backtrace to enable backtraces