Thanks! I had noticed that any character in the last half of a. caused
the problem, but I hand not realized that 8 u: would address the
issue.
Or, in my case:
(a. {~ 3 u: 7 u: (pat;txt) rxrplc 8 u: 4 u: 3 u: ])L:1 0 y
Thanks again,
--
Raul
On Tue, May 13, 2014 at 1:18 PM, Don Guinn <[email protected]> wrote:
> Apparently it only works with ascii or U8.
> ('ab';'cde') rxrplc 'abcdef',4 u:254
> abcdefþ
> ('ab';'cde') rxrplc 'abcdef',8 u: 4 u:254
> cdecdefþ
>
>
> On Tue, May 13, 2014 at 10:56 AM, Raul Miller <[email protected]> wrote:
>
>> I was surprised by this:
>>
>> require 'regex'
>> ('ab';'cde') rxrplc 'abcdef'
>> cdecdef
>> ('ab';'cde') rxrplc 'abcdef',254{a.
>> abcdef�
>>
>> Thanks,
>>
>> --
>> Raul
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm