Re: [CMS-PIPELINES] Pick input range inconsistency

2012-12-28 Thread John P. Hartmann
1+ is not an inputRange; hence substr is not a substring, but the string ub delimited by s. Try 1.3 instead. On 28 December 2012 18:36, Michael Harding mhard...@us.ibm.com wrote: pipe literal abcdef 123456|pick 1+ == /abc/|cons abcdef 123456 Ready; T=0.01/0.01 09:29:34 pipe literal abcdef

Re: [CMS-PIPELINES] Pick input range inconsistency

2012-12-28 Thread Michael Harding
I recognize 1+ isn't a valid input range, I was just surprised that pick didn't support the same notation with substring as without. In my actual code the matching constant is a word of variable length coming from another source. Yes, I could reorder to put the input word of interest first and

Re: [CMS-PIPELINES] Pick input range inconsistency

2012-12-28 Thread John P. Hartmann
Season's greetings! I do not wish to offend, but it would appear that you don't understand what 1+ means and when it is appropriate. Nor the finer points of substr. On 28 December 2012 19:28, Michael Harding mhard...@us.ibm.com wrote: I recognize 1+ isn't a valid input range, I was just

Re: [CMS-PIPELINES] Pick input range inconsistency

2012-12-28 Thread Michael Harding
And happy holidays to you too! No offense taken, I was simply reading more into the description of the n+ syntax than is actually in the help. I should have realized you'd have used the same input-range parser as elsewhere. Once I deciphered the error message I could see that what was going on