RexxLA / NetRexx

Other
6 stars 0 forks source link

XLATE bug with WordSeparator input range #32

Open Jeff-Ft-Myers opened 2 years ago

Jeff-Ft-Myers commented 2 years ago

Two examples:

PS C:\Users\Jeff\Documents\PipeTests> pipc m.njp pipe (m ) literal A~B~C~D~E~F~G | xlate ws ~ w3 A-E 1-5 | cons ? PS C:\Users\Jeff\Documents\PipeTests> java m netrexx.lang.BadArgumentException: Bad hexadecimal ~A at netrexx.lang.RexxUtil.x2c(RexxUtil.java:252) at netrexx.lang.Rexx.x2c(Rexx.java:1570) at org.netrexx.njpipes.stages.xlate.processRanges(xlate.java:500) at org.netrexx.njpipes.stages.xlate.run(xlate.java:323) at org.netrexx.njpipes.pipes.ThreadPool.run(ThreadPool.java:76) at java.lang.Thread.run(Unknown Source) Exiting due to uncaught Exception Bad hexadecimal ~A

PS C:\Users\Jeff\Documents\PipeTests> type m.njp pipe (m) literal a#b#c#A#B#C| xlate ws # w3 c @ | cons PS C:\Users\Jeff\Documents\PipeTests> pipc m.njp pipe (m ) literal a#b#c#A#B#C| xlate ws # w3 c @ | cons PS C:\Users\Jeff\Documents\PipeTests> java m a3b3@3A3B3C PS C:\Users\Jeff\Documents\PipeTests>