find next empty line in a table field
Jim Ault
JimAultWins at yahoo.com
Thu Oct 5 21:47:04 EDT 2006
Further googlism .... try
"Negated Shorthand Character Classes"
which will give the category of regex that will scan until a non-white space
character is found, even across lines (cr's)
Jim Ault
Las Vegas
On 10/5/06 4:57 PM, "Robert Sneidar" <bobs at twft.com> wrote:
> Lemme jump in here and say I was searching for a way to use Regular
> Expressions to find White Space, and came to the conclusion that you
> can't. It would be nice to find a series of spaces of variable
> lengths but I am stumped as to how. It wouldn't solve the matter of
> mixed cr's, tabs lf's and spaces.
>
> Bob Sneidar
> IT Manager
> Logos Management
> Calvary Chapel CM
>
> On Oct 5, 2006, at 2:42 PM, Jim Ault wrote:
>
>> On 10/5/06 2:29 PM, "Mark Schonewille" <m.schonewille at economy-x-
>> talk.com>
>> wrote:
>>> Andrew,
>>> put myWhateverData into line (the number of lines of line 1 to offset
>>> (cr & cr,myData) of myData) of myData
>>>
>>> where myWhateverData is the text you want to add and myData is the
>>> orignal data or a reference to your tabel field.
>>>
>> Good solution.
>> The only catch I can think of, Mark, is if tabs are used in an
>> empty line of
>> a table, or (in a weird case) some other char is used as a default
>> column
>> delimiter.
>>
>> This would happen in the case of a list generator that does
>> put val1 &tab& val2 &tab& val3 & cr after newList
>> --and all the vals are emtpy.
>>
>> Jim Ault
>> Las Vegas
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list