Re: filter with a tab character

2013-02-04 Thread Klaus on-rev
Hi Hugh, Am 04.02.2013 um 18:04 schrieb FlexibleLearning.com ad...@flexiblelearning.com: I have tab-delimited list and am trying to filter lines. Q1. How do we include a TAB character in the expression? Using filter with *\tsomeText fails. use the contant TAB: ... filter tList with (*

Re: filter with a tab character

2013-02-04 Thread Richard Gaskin
Klaus wrote: Am 04.02.2013 um 18:04 schrieb FlexibleLearning.com: I have tab-delimited list and am trying to filter lines. Q1. How do we include a TAB character in the expression? Using filter with *\tsomeText fails. use the contant TAB: ... filter tList with (* TAB whatever) While the

Re: filter with a tab character

2013-02-04 Thread Mike Bonner
I think you could also use \t to signify a tab char. As for the matching a range of numbers you'd probably be better served to have lc handle whatever is leftover. However, barring that, you might look at this page: http://www.regular-expressions.info/numericranges.html for an explanation of how

Re: filter with a tab character

2013-02-04 Thread Paul Hibbert
filter searches for a pattern, not a value, so this can work to filter anything 'less than 18', but would work to filter results with the chars , 1 or 8. Paul On 2013-02-04, at 9:04 AM, FlexibleLearning.com wrote: Q2. How do we specify a maximum numeric value? Using filter with *[18] fails.

Re: filter with a tab character

2013-02-04 Thread Paul Hibbert
Sorry, that should have read can't work not can work. On 2013-02-04, at 9:48 AM, Paul Hibbert wrote: filter searches for a pattern, not a value, so this can work to filter anything 'less than 18', but would work to filter results with the chars , 1 or 8. Paul On 2013-02-04, at 9:04

Re: filter with a tab character

2013-02-04 Thread Thierry Douez
2013/2/4 FlexibleLearning.com ad...@flexiblelearning.com I have tab-delimited list and am trying to filter lines. Q1. How do we include a TAB character in the expression? Using filter with *\tsomeText fails. see \s below Q2. How do we specify a maximum numeric value? Using filter with

Re: filter with a tab character

2013-02-04 Thread Thierry Douez
Forgot one which maybe you need: get \s([1-3]?\d|[4][0-2])\s -- accept 0 to 42 Regards, Thierry 2013/2/4 Thierry Douez th.do...@gmail.com 2013/2/4 FlexibleLearning.com ad...@flexiblelearning.com I have tab-delimited list and am trying to filter lines. Q1. How do we include a TAB

Re: filter with a tab character

2013-02-04 Thread FlexibleLearning.com
Thanks for the insights. Much appreciated. The list to filter is not enormous, but the 'for each' option would also handle any numeric evaluations, so both solutions will be valuable. Hugh Senior FLCo Klaus wrote: Am 04.02.2013 um 18:04 schrieb FlexibleLearning.com: I have tab-delimited