Re: @{<bident1> <bident2>} not working when <bident2> contai…

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

Delete this message
Author: Kaz Kylheku
Date:  
To: vapnik spaknik
CC: txr-users
Subject: Re: @{<bident1> <bident2>} not working when <bident2> contains a regexp

Oops; that's a loudly documented feature!

I haven't confirmed, but I suspect this commit [2011] broke it.

Thanks for the report.

On 2019-07-02 07:21, vapnik spaknik wrote:

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