Re: filter

2020-11-20 Thread Bob Sneidar via use-livecode
ecific example by the function of the terminal ‘+’ If you are only finding one character, why do you need to specify 'at least one' of one char? Ha! Yeah, I actually mistyped that (moi?). "^\[" is all that's necessary for the filter command. ...but Klaus' form of "[[]*[]]" is ac

Re: filter

2020-11-20 Thread Mark Wieder via use-livecode
, I actually mistyped that (moi?). "^\[" is all that's necessary for the filter command. ...but Klaus' form of "[[]*[]]" is actually better if the field has [500] and then text -- Mark Wieder ahsoftw...@gmail.com ___ use-livec

Re: filter

2020-11-20 Thread David V Glasgow via use-livecode
Apologies for barging in, but I am confused by regex generally and in this specific example by the function of the terminal ‘+’ If you are only finding one character, why do you need to specify 'at least one' of one char? Cheers David G > On 20 Nov 2020, at 8:44 am, Klaus major-k via

Re: filter

2020-11-20 Thread Klaus major-k via use-livecode
ngham via use-livecode wrote: >>>> I think: >>>> filter fld 1 with "[[]*" >>>> Should do the trick... >>> As an alternative, >>> filter fld 1 with regex pattern "^\[+" >>> also does the trick. >> thanks, bu

Re: filter

2020-11-19 Thread Mark Wieder via use-livecode
On 11/19/20 9:09 AM, Klaus major-k via use-livecode wrote: Hi Mark, Am 19.11.2020 um 18:07 schrieb Mark Wieder via use-livecode : On 11/19/20 7:38 AM, Mark Waddingham via use-livecode wrote: I think: filter fld 1 with "[[]*" Should do the trick... As an alternative, fi

RE: filter

2020-11-19 Thread Craig newman via use-livecode
Klaus. I use "filter" here and there, mostly with regex or wildCards. But nothing works for me either,: Filter yourText with "[" Filter yourText where each contains "[" Not sure what is going on. Where is Thieery? Craig -Original Message- From: use-live

Re: filter

2020-11-19 Thread Bob Sneidar via use-livecode
I don’t think I could watch! Oh the horror! Bob S > On Nov 19, 2020, at 9:17 AM, Keith Clarke via use-livecode > wrote: > > The chronicles of regex - a potential blockbuster there, Bob! :-) > Best, > Keith > >> On 19 Nov 2020, at 16:49, Bob Sneidar via use-livecode >> wrote: >> >> No

Re: filter

2020-11-19 Thread Keith Clarke via use-livecode
The chronicles of regex - a potential blockbuster there, Bob! :-) Best, Keith > On 19 Nov 2020, at 16:49, Bob Sneidar via use-livecode > wrote: > > No one escapes the lair of the Regex Demon. Except for maybe Riddick. > > Bob S > > > On Nov 19, 2020, at 8:15 AM, Keith Clarke via

Re: filter

2020-11-19 Thread Klaus major-k via use-livecode
Hi Mark, > Am 19.11.2020 um 18:07 schrieb Mark Wieder via use-livecode > : > On 11/19/20 7:38 AM, Mark Waddingham via use-livecode wrote: >> I think: >> filter fld 1 with "[[]*" >> Should do the trick... > As an alternative, > filter fld 1 with

Re: filter

2020-11-19 Thread Mark Wieder via use-livecode
On 11/19/20 7:38 AM, Mark Waddingham via use-livecode wrote: I think:   filter fld 1 with "[[]*" Should do the trick... As an alternative, filter fld 1 with regex pattern "^\[+" also does the trick. -- Mark Wieder

Re: filter

2020-11-19 Thread Bob Sneidar via use-livecode
No one escapes the lair of the Regex Demon. Except for maybe Riddick. Bob S On Nov 19, 2020, at 8:15 AM, Keith Clarke via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: Ha, yes I understand that desire - and Mark’s one-character escape trick beats my hack to bypass the lair of

Re: filter

2020-11-19 Thread Keith Clarke via use-livecode
arke via use-livecode >> : >> >> Hi Klaus, >> Maybe iterate the lines - untested... >> repeat for each line l in fld 1 >> if and( offset( “[“, l) > 0 , offset(“]”, l) > 0 ) then put line l of fld 1 >> into tList >> end repeat >> put tLi

Re: filter

2020-11-19 Thread Klaus major-k via use-livecode
nd repeat > put tList yes, sure, but "lazy moi" wanted to use FILTER and also understand why my first script did not work. :-) > Best, > Keith Best Klaus -- Klaus Major https://www.major-k.de kl...@major-k.de ___ use-liveco

Re: filter

2020-11-19 Thread Klaus major-k via use-livecode
Hi Mark, > Am 19.11.2020 um 16:38 schrieb Mark Waddingham via use-livecode > : > >> So I thought >> ... >> filter fld 1 with "[*" >> ... >> would do the job, but that EMPTIES the field!? >> Obviously this [ interferes with some REGEX mech

Re: filter

2020-11-19 Thread Keith Clarke via use-livecode
gt; Hi all, > > I am surely missing something here with filter. > > I have a field with some lines like: > ... > [500] > text yadda > yadda > [100] > ... > And want to filter the field that only the lines with [...] remain in the > field. > > So I thou

Re: filter

2020-11-19 Thread Mark Waddingham via use-livecode
So I thought ... filter fld 1 with "[*" ... would do the job, but that EMPTIES the field!? Obviously this [ interferes with some REGEX mechanism of filter? So what should I use now? I think: filter fld 1 with "[[]*" Should do the trick... Basically, you can us

filter

2020-11-19 Thread Klaus major-k via use-livecode
Hi all, I am surely missing something here with filter. I have a field with some lines like: ... [500] text yadda yadda [100] ... And want to filter the field that only the lines with [...] remain in the field. So I thought ... filter fld 1 with "[*" ... would do the job, but th

Re: Filter an array by content

2019-06-21 Thread J. Landman Gay via use-livecode
Mark Talluto's bug is exactly what I see. It may be related to a certain type of scripting, or a particular sequence of commands. I crashed several times in a row within a minute of a restart, so maybe the handler I was debugging was to blame. -- Jacqueline Landman Gay |

Re: Filter an array by content

2019-06-21 Thread Bob Sneidar via use-livecode
I am using V9.0.5 rc1 and I am not having any of these kinds of debugging crashes. I rarely step over though. Almost always I step into or out of. (I think I have that right.) Bob S > On Jun 21, 2019, at 14:33 , J. Landman Gay via use-livecode > wrote: > > On 6/21/19 2:48 PM, Alex Tweedly

Re: Filter an array by content

2019-06-21 Thread Mark Talluto via use-livecode
On Jun 21, 2019, at 2:33 PM, J. Landman Gay via use-livecode wrote: > > I see that all the time. If you step over, the dot location fixes itself at > least here. Until the crash, anyway. It doesn't crash right away, it seems to > be a cumulative thing, so you get a few chances before

Re: Filter an array by content

2019-06-21 Thread J. Landman Gay via use-livecode
On 6/21/19 2:48 PM, Alex Tweedly via use-livecode wrote: On 21/06/2019 19:38, J. Landman Gay via use-livecode wrote: My only excuse is that I've been avoiding stepping through the debugger because LC has been crashing when I do that. I've sent in many crash logs but it's only recently I've

Re: Filter an array by content

2019-06-21 Thread Bob Sneidar via use-livecode
Yes it is in memory, but it makes me think there might be a use case for allowing the creation of a file based database. I'll update it and repost on the list. Bob S > On Jun 21, 2019, at 12:57 , Tom Glod via use-livecode > wrote: > > very good thanks for elaborating Bob...it makes

Re: Filter an array by content

2019-06-21 Thread Tom Glod via use-livecode
very good thanks for elaborating Bob...it makes sense that there are use cases where the library really kicks it.. esp since its an in memory database (assuming). Its a good idea, making me rethink a couple of things. On Fri, Jun 21, 2019 at 12:06 PM Alex Tweedly via use-livecode <

Re: Filter an array by content

2019-06-21 Thread Alex Tweedly via use-livecode
On 21/06/2019 19:38, J. Landman Gay via use-livecode wrote: My only excuse is that I've been avoiding stepping through the debugger because LC has been crashing when I do that. I've sent in many crash logs but it's only recently I've discovered it happens only with Step Over. It's hard to

Re: Filter an array by content

2019-06-21 Thread J. Landman Gay via use-livecode
Found the problem. My script local was being emptied for some reason, so there was nothing to filter. After repopulating all data it worked. My only excuse is that I've been avoiding stepping through the debugger because LC has been crashing when I do that. I've sent in many crash logs

Re: Filter an array by content

2019-06-21 Thread Alex Tweedly via use-livecode
Hi Bob, It sounds like your library is something I could benefit from :-) I know it's been mentioned on the list before, but I've lost track of where to get it from, and  a quick search didn't turn anything up. Could you please send a reminder (either to the list or direct to me if you

Re: Filter an array by content

2019-06-21 Thread Bob Sneidar via use-livecode
Hi Tom. So the little benchmarking I did originally showed that my method was a little longer, as I still have to iterate once through the array to populate the database. Where it really shines is that you can do complex queries, as well as multiple column sorts before converting back to an

Re: Filter an array by content

2019-06-21 Thread Dar Scott Consulting via use-livecode
use, "where" might be interesting.) > On Jun 21, 2019, at 1:01 AM, J. Landman Gay via use-livecode > wrote: > > I spoke too soon. When I tested, I hard-coded a value as the filter string. > But when I use a variable, it fails as it did before. The elements of

Re: Filter an array by content

2019-06-21 Thread Niggemann, Bernd via use-livecode
Am 21.06.2019 um 09:01 schrieb use-livecode-requ...@lists.runrev.com<mailto:use-livecode-requ...@lists.runrev.com>: From: "J. Landman Gay" I spoke too soon. When I tested, I hard-coded a value as the filter string. But when I use a variable, it fails as it did befo

Re: Filter an array by content

2019-06-21 Thread J. Landman Gay via use-livecode
I spoke too soon. When I tested, I hard-coded a value as the filter string. But when I use a variable, it fails as it did before. The elements of the array all start with a 4-character string followed by an underscore, for example: ER01_some text here My variable contains "ER01":

Re: Filter an array by content

2019-06-21 Thread J. Landman Gay via use-livecode
Thanks to all for the replies. Monte, I didn't see your post until Tom quoted it, for some reason it didn't arrive here. At any rate, I'd already tried "filter elements of..." and it failed which is why I posted. But I must have had my filter wrong because I just tried it again and

Re: Filter an array by content

2019-06-20 Thread Tom Glod via use-livecode
onte On Thu, Jun 20, 2019 at 6:19 PM Monte Goulding via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Jacque, does the output also need to be a sequential numeric array? If > so then no variant of the filter command will help. If not then can’t you > `filter elements of the

Re: Filter an array by content

2019-06-20 Thread Monte Goulding via use-livecode
Hi Jacque, does the output also need to be a sequential numeric array? If so then no variant of the filter command will help. If not then can’t you `filter elements of theArray with “*foobar*”``? It would be a nice addition to filter elements to have `as sequence` or something so the result had

Re: Filter an array by content

2019-06-20 Thread Dar Scott Consulting via use-livecode
where" will work: filter elements of testDistance where each > 20.5 into failedDistance > On Jun 20, 2019, at 2:56 PM, J. Landman Gay via use-livecode > wrote: > > I need to filter a numeric array by the content of the keys, not by the keys > themselves. Is there a way to do

Re: Filter an array by content

2019-06-20 Thread Dar Scott Consulting via use-livecode
I think the filtering of array items was introduced in 8.1, so combine and split might not be needed. However, unless pattern matching will do, one has to wait until 9.5 to use the "where" clause in "filter". > On Jun 20, 2019, at 3:37 PM, hh via use-livecode > wr

Re: Filter an array by content

2019-06-20 Thread Bob Sneidar via use-livecode
You would have to also sort. Also, the array might not be sorted after the split. Bob S > On Jun 20, 2019, at 14:37 , hh via use-livecode > wrote: > > Why not "combine array V > filter V > split V"? > >> JLG wrote: >> I need to filter

Re: Filter an array by content

2019-06-20 Thread hh via use-livecode
Why not "combine array V > filter V > split V"? > JLG wrote: > I need to filter a numeric array by the content of the keys, not by the > keys themselves. Is there a way to do that without looping through the > entire array

Re: Filter an array by content

2019-06-20 Thread Bob Sneidar via use-livecode
man Gay via use-livecode > wrote: > > I need to filter a numeric array by the content of the keys, not by the keys > themselves. Is there a way to do that without looping through the entire > array and looking at each element? > > -- > Jacqueline Landman Gay |

Re: Filter an array by content

2019-06-20 Thread Dar Scott Consulting via use-livecode
In 9.5, perhaps, filter ... where will do it. > On Jun 20, 2019, at 2:56 PM, J. Landman Gay via use-livecode > wrote: > > I need to filter a numeric array by the content of the keys, not by the keys > themselves. Is there a way to do that without looping through the

Filter an array by content

2019-06-20 Thread J. Landman Gay via use-livecode
I need to filter a numeric array by the content of the keys, not by the keys themselves. Is there a way to do that without looping through the entire array and looking at each element? -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http

LC Wildcard filter citation source?

2018-12-08 Thread David V Glasgow via use-livecode
Hello folks, I am writing an academic paper on an analysis of internet predator messages undertaken using an LC app. A few of the filtered terms I used incorporated wildcards (I avoided regular expressions). I need to reference a published source for the implementation of wildcards within

RE: filter list_of_files with REGEX xyz?

2018-08-17 Thread Ralph DiMola via use-livecode
LiveCode Cc: Bob Sneidar Subject: Re: filter list_of_files with REGEX xyz? Half want cake, the other half, pie. Bob S > On Aug 17, 2018, at 09:45 , Mark Wieder via use-livecode wrote: > > On 08/17/2018 08:54 AM, Ralph DiMola via use-livecode wrote: >> True true... I thought ab

Re: filter list_of_files with REGEX xyz?

2018-08-17 Thread Bob Sneidar via use-livecode
Half want cake, the other half, pie. Bob S > On Aug 17, 2018, at 09:45 , Mark Wieder via use-livecode > wrote: > > On 08/17/2018 08:54 AM, Ralph DiMola via use-livecode wrote: >> True true... I thought about it but left it as is just in case there was an >> image without a file name before

Re: filter list_of_files with REGEX xyz?

2018-08-17 Thread Mark Wieder via use-livecode
On 08/17/2018 08:54 AM, Ralph DiMola via use-livecode wrote: True true... I thought about it but left it as is just in case there was an image without a file name before the ".". I did not want it to be missed. You know users... LOL -- Mark Wieder ahsoftw...@gmail.com

RE: filter list_of_files with REGEX xyz?

2018-08-17 Thread Ralph DiMola via use-livecode
e-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Mark Wieder via use-livecode Sent: Friday, August 17, 2018 11:41 AM To: Ralph DiMola via use-livecode Cc: Mark Wieder Subject: Re: filter list_of_files with REGEX xyz? On 08/17/2018 07:13 AM, Ralph DiMola via use-livecode wrote

Re: filter list_of_files with REGEX xyz?

2018-08-17 Thread Mark Wieder via use-livecode
On 08/17/2018 07:13 AM, Ralph DiMola via use-livecode wrote: filter tList with regex pattern "(?i).*\.(jpe?g|png|gif)$" For a file list that should probably be filter tList with regex pattern "(?i).+\.(jpe?g|png|gif)$" unless you explicitly want to see f

Re: filter list_of_files with REGEX xyz?

2018-08-17 Thread Lagi Pittas via use-livecode
schrieb hh via use-livecode < > use-livecode@lists.runrev.com>: > > > > This is already case-insensitive, but the period needs an escape: > > > > filter tList with regex pattern "\.*(jpe?g|png|gif)$" > > ah, jetzt ja! :-) > Thanks a lot! > > Be

Re: filter list_of_files with REGEX xyz?

2018-08-17 Thread Lagi Pittas via use-livecode
rian Milby via use-livecode > Sent: Friday, August 17, 2018 9:19 AM > To: How to use LiveCode > Cc: Brian Milby > Subject: Re: filter list_of_files with REGEX xyz? > > RegEx pattern > Sorry, I was just giving the pattern, not the syntax. > Also, it will probably be case sensit

RE: filter list_of_files with REGEX xyz?

2018-08-17 Thread Ralph DiMola via use-livecode
The ".*" is the wild card(zero or more) and "\." Is the period. filter tList with regex pattern "(?i).*\.(jpe?g|png|gif)$" Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-live

RE: filter list_of_files with REGEX xyz?

2018-08-17 Thread Brian Milby via use-livecode
gt; > -Original Message- > From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf > Of Brian Milby via use-livecode > Sent: Friday, August 17, 2018 9:19 AM > To: How to use LiveCode > Cc: Brian Milby > Subject: Re: filter list_of_files with REGEX x

Re: filter list_of_files with REGEX xyz?

2018-08-17 Thread Klaus major-k via use-livecode
Hi Hermann, > Am 17.08.2018 um 15:58 schrieb hh via use-livecode > : > > This is already case-insensitive, but the period needs an escape: > > filter tList with regex pattern "\.*(jpe?g|png|gif)$" ah, jetzt ja! :-) Thanks a lot! Best Klaus -- Klaus Major http:

Re: filter list_of_files with REGEX xyz?

2018-08-17 Thread hh via use-livecode
This is already case-insensitive, but the period needs an escape: filter tList with regex pattern "\.*(jpe?g|png|gif)$" ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and m

RE: filter list_of_files with REGEX xyz?

2018-08-17 Thread Ralph DiMola via use-livecode
...@lists.runrev.com] On Behalf Of Brian Milby via use-livecode Sent: Friday, August 17, 2018 9:19 AM To: How to use LiveCode Cc: Brian Milby Subject: Re: filter list_of_files with REGEX xyz? RegEx pattern Sorry, I was just giving the pattern, not the syntax. Also, it will probably be case sensitive

Re: filter list_of_files with REGEX xyz?

2018-08-17 Thread Klaus major-k via use-livecode
> I won’t be able to test until later. I don’t recall the case insensitive flag > off hand. No joy :-/ If I use: ... filter tList with regex pattern "*.(jpe?g|png|gif)" ... or ... filter lines of tList with regex pattern "*.(jpe?g|png|gif)" ... I get an error: button &qu

Re: filter list_of_files with REGEX xyz?

2018-08-17 Thread Brian Milby via use-livecode
, wrote: > Hi Brian, > > > Am 17.08.2018 um 14:40 schrieb Brian Milby via use-livecode > > : > > > > Pattern “*.(jpe?g|png|gif)” > > thanks, but that does not work!? > > I tried: > on mouseUp pMouseButton > answer folder "sdsdsdsd" > put i

Re: filter list_of_files with REGEX xyz?

2018-08-17 Thread Klaus major-k via use-livecode
Hi Brian, > Am 17.08.2018 um 14:40 schrieb Brian Milby via use-livecode > : > > Pattern “*.(jpe?g|png|gif)” thanks, but that does not work!? I tried: on mouseUp pMouseButton answer folder "sdsdsdsd" put it into tFolder put files(tFolder) into tList filter tList with

Re: filter list_of_files with REGEX xyz?

2018-08-17 Thread Brian Milby via use-livecode
Pattern “*.(jpe?g|png|gif)” Thanks, Brian On Aug 17, 2018, 6:44 AM -0500, Klaus major-k via use-livecode , wrote: > Hi friends, > > I know how to: > ... > filter list_of_files with "*.jpg" > ... > But REGEX stuff is way over my head. :-/ > > Can an

filter list_of_files with REGEX xyz?

2018-08-17 Thread Klaus major-k via use-livecode
Hi friends, I know how to: ... filter list_of_files with "*.jpg" ... But REGEX stuff is way over my head. :-/ Can anyone provide the regex/pattern syntax for filtering jpg, png etc. in ONE run? Know what I mean? Thanks a lot in advance! Best Klaus -- Klaus Major http://www.maj

Re: How to filter a list with a variable anywhere in a line

2018-08-13 Thread Colin Holgate via use-livecode
In that book I wrote there is a chapter on making a web scraper, something that could pull images and other media from a web page. I soon found all the articles talking about not using regex with HTML, so I used a mixture of techniques instead. Here’s the first part I wrote about it: “A common

Re: How to filter a list with a variable anywhere in a line

2018-08-13 Thread Mark Wieder via use-livecode
Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: How to filter a list with a variable anywhere in a line

2018-08-13 Thread Bob Sneidar via use-livecode
That was it! LOL! Bob S > On Aug 13, 2018, at 09:28 , J. Landman Gay via use-livecode > wrote: > > I You can't parse html with regex: > > https://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags# > > See the top accepted answer. > -- > Jacqueline

Re: How to filter a list with a variable anywhere in a line

2018-08-13 Thread J. Landman Gay via use-livecode
I You can't parse html with regex: https://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags# See the top accepted answer. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 13, 2018

Re: How to filter a list with a variable anywhere in a line

2018-08-13 Thread Keith Clarke via use-livecode
…ad insanem regexum - maybe his tin-foil hat slipped off. Keith > On 13 Aug 2018, at 17:11, Bob Sneidar via use-livecode > wrote: > > Someone did a great article on using regex to parse csv files or some such > thing, and was making the case why it couldn't be done, and in the middle of >

Re: How to filter a list with a variable anywhere in a line

2018-08-13 Thread Bob Sneidar via use-livecode
Someone did a great article on using regex to parse csv files or some such thing, and was making the case why it couldn't be done, and in the middle of attempting to explain it, the author loses his mind. It was pretty funny. Bob S > On Aug 13, 2018, at 09:01 , Keith Clarke via use-livecode

Re: How to filter a list with a variable anywhere in a line

2018-08-13 Thread Keith Clarke via use-livecode
Mark - that fixed it (as in, the simpler approach of dropping the >> brackets). >> Being ‘regex-phobic', I hadn’t picked up the subtle difference between >> wildcards and ‘formal’ regex in the doc examples. ;-) > > Yeah, it's pretty subtle since the bare filter

Re: How to filter a list with a variable anywhere in a line

2018-08-13 Thread Mark Wieder via use-livecode
subtle since the bare filter syntax looks quite regexy all by itself. -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: How to filter a list with a variable anywhere in a line

2018-08-13 Thread Keith Clarke via use-livecode
ivecode > wrote: > > On 08/13/2018 08:32 AM, Keith Clarke via use-livecode wrote: >> Folks, >> I’m trying to filter a list of comma-delimited values to include only the >> lines that contain a string - somewhere in any of the items. >> What’s wrong with this sy

Re: How to filter a list with a variable anywhere in a line

2018-08-13 Thread Mark Wieder via use-livecode
On 08/13/2018 08:32 AM, Keith Clarke via use-livecode wrote: Folks, I’m trying to filter a list of comma-delimited values to include only the lines that contain a string - somewhere in any of the items. What’s wrong with this syntax - it’s currently returning no lines when I can see tString

How to filter a list with a variable anywhere in a line

2018-08-13 Thread Keith Clarke via use-livecode
Folks, I’m trying to filter a list of comma-delimited values to include only the lines that contain a string - somewhere in any of the items. What’s wrong with this syntax - it’s currently returning no lines when I can see tString in the second line of the variable? filter lines of tList

Re: OT: Does anybody know an "official" h.264 directShow filter for windows?

2017-08-29 Thread Sean Cole (Pi) via use-livecode
standard windows > systems. Those installers can't be installed on a normal windows. > The intel link is a developer kit, if you plan to develop your own video > player, unfortunately there is no installer for the filter only. > > Meanwhile I tested the LAV filter and the ffdShow

AW: OT: Does anybody know an "official" h.264 directShow filter for windows?

2017-08-29 Thread Tiemo Hollmann TB via use-livecode
on a normal windows. The intel link is a developer kit, if you plan to develop your own video player, unfortunately there is no installer for the filter only. Meanwhile I tested the LAV filter and the ffdShow filter, both are for playback h.264 videos on the directShow API. But the video can't be

Re: OT: Does anybody know an "official" h.264 directShow filter for windows?

2017-08-29 Thread Sean Cole (Pi) via use-livecode
port h.264 videos on its old directShow API, you > have to install a h.264 codec/filter to playback h.264 videos with > LiveCode. > > Up to now, I only have found the "LAV Filters" package, which includes an > directShow mp4 filter. Generally this works fine, but I have custome

OT: Does anybody know an "official" h.264 directShow filter for windows?

2017-08-29 Thread Tiemo Hollmann TB via use-livecode
Hello, It is so frustrating after struggling for years with the Quicktime installer on windows, all my hope on the new "native" video player is lost. Since Windows doesn't support h.264 videos on its old directShow API, you have to install a h.264 codec/filter to playback h.

Re: filter? replace? wildcard? reg exp? help please!

2017-05-19 Thread Thierry Douez via use-livecode
​ Is there life without internet for one week? - lucky you are connected to the world again! > Tiemo > ​Hallo Tiemo, Except some hurdles with the administration ( sold my old car and bought a new one) plus being insulted by a couple of stressed and egotist people for not answering sooner, I

AW: filter? replace? wildcard? reg exp? help please!

2017-05-19 Thread Tiemo Hollmann TB via use-livecode
LiveCode <use-livecode@lists.runrev.com> Cc: Thierry Douez <th.do...@gmail.com> Betreff: Re: filter? replace? wildcard? reg exp? help please! > > >> put "1 [A] 2 [B] 3." into tText >> put removeBrackets( tText) >> > > I see that the middle sect

Re: filter? replace? wildcard? reg exp? help please!

2017-05-19 Thread Thierry Douez via use-livecode
> > >> put "1 [A] 2 [B] 3." into tText >> put removeBrackets( tText) >> > > I see that the middle section is omitted with my regex, so I forgot to > make it non-greedy. But I've forgotten how to do that, something about a > question mark, I think? ​Sorry about the delay, we had a thunderstorm

Re: filter? replace? wildcard? reg exp? help please!

2017-05-12 Thread J. Landman Gay via use-livecode
On 5/12/17 3:37 PM, Thierry Douez via use-livecode wrote: This should be a one-line command! I've typed this post with the new Opera browser ??? Another try with 2 lines: put "1 [A] 2 [B] 3." into tText put removeBrackets( tText) ​Better? Yes. It's odd that a browser would reformat it

Re: filter? replace? wildcard? reg exp? help please!

2017-05-12 Thread Thierry Douez via use-livecode
> > >> >> >>> function removeBrackets pString >>> return replacetext(pString,"\[.*\]",empty) >>> end removeBrackets >>> >> ​​ >> >> What would be the result of next line:? >> >> *put* removeBrackets >> ​( ​ >> "1 [A] 2 [B] 3." >> ​) >> > > An error. I did warn about my limited regex skills. :)

Re: filter? replace? wildcard? reg exp? help please!

2017-05-12 Thread J. Landman Gay via use-livecode
On 5/12/17 2:08 AM, Thierry Douez via use-livecode wrote: ​Hi, function removeBrackets pString return replacetext(pString,"\[.*\]",empty) end removeBrackets ​​ What would be the result of next line:? *put* removeBrackets ​( ​ "1 [A] 2 [B] 3." ​) An error. I did warn about my

Re: filter? replace? wildcard? reg exp? help please!

2017-05-12 Thread Thierry Douez via use-livecode
​Hi, > > function removeBrackets pString > return replacetext(pString,"\[.*\]",empty) > end removeBrackets > > ​​ What would be the result of next line:? *put* removeBrackets ​( ​ "1 [A] 2 [B] 3." ​) Kind regards, Thierry ​ Thierry Douez

Re: filter? replace? wildcard? reg exp? help please!

2017-05-10 Thread Nicolas Cueto via use-livecode
> Totally OT, but is this Dante, in Spanish?? Yes, and yes. From the verse translation of Ángel Crespo. -- Nicolas Cueto On 10 May 2017 at 19:57, Graham Samuel via use-livecode < use-livecode@lists.runrev.com> wrote: > Totally OT, but is this Dante, in Spanish?? > > Just askin’. I am not good

Re: filter? replace? wildcard? reg exp? help please!

2017-05-10 Thread Graham Samuel via use-livecode
Totally OT, but is this Dante, in Spanish?? Just askin’. I am not good with languages, as you can probably tell. Graham > On 10 May 2017, at 06:33, J. Landman Gay via use-livecode > wrote: > > On 5/9/17 11:16 PM, J. Landman Gay via use-livecode wrote: >> On

Re: filter? replace? wildcard? reg exp? help please!

2017-05-09 Thread J. Landman Gay via use-livecode
On 5/9/17 11:16 PM, J. Landman Gay via use-livecode wrote: On 5/9/17 10:41 PM, Nicolas Cueto via use-livecode wrote: Given this snippet... --- CANTO XXXIV CÍRCULO IX: TRAIDORES. «Vexilla regis prodeunt[307] del Abismo hacia nosotros[308], mas

Re: filter? replace? wildcard? reg exp? help please!

2017-05-09 Thread Nicolas Cueto via use-livecode
​Thank you everyone. Went with ​Jacqueline's, cause fastest. -- N. Cueto ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: filter? replace? wildcard? reg exp? help please!

2017-05-09 Thread J. Landman Gay via use-livecode
On 5/9/17 10:41 PM, Nicolas Cueto via use-livecode wrote: Given this snippet... --- CANTO XXXIV CÍRCULO IX: TRAIDORES. «Vexilla regis prodeunt[307] del Abismo hacia nosotros[308], mas delante mira 3—dijo el maestro— y los verás tú mismo.»

Re: filter? replace? wildcard? reg exp? help please!

2017-05-09 Thread Phil Davis via use-livecode
There is probably an easier way, but this works: on mouseUp put "]" & field 1 into tText set the lineDelimiter to "[" set the itemDelimiter to "]" repeat for each line tLine in tText put item 2 to -1 of tLine after tNewText end repeat

Re: filter? replace? wildcard? reg exp? help please!

2017-05-09 Thread Peter Bogdanoff via use-livecode
Try— put your text into tText, then repeat forever if offset("[",tText) is not empty then delete char (offset("[",tText)) to (offset("]",tText)) of tText else exit repeat end repeat On May 9, 2017, at 8:54 PM, Peter Bogdanoff via use-livecode

Re: filter? replace? wildcard? reg exp? help please!

2017-05-09 Thread Peter Bogdanoff via use-livecode
use offset. Peter On May 9, 2017, at 8:41 PM, Nicolas Cueto via use-livecode wrote: > Given this snippet... > > --- > CANTO XXXIV > CÍRCULO IX: TRAIDORES. > «Vexilla regis prodeunt[307] del Abismo > hacia

filter? replace? wildcard? reg exp? help please!

2017-05-09 Thread Nicolas Cueto via use-livecode
Given this snippet... --- CANTO XXXIV CÍRCULO IX: TRAIDORES. «Vexilla regis prodeunt[307] del Abismo hacia nosotros[308], mas delante mira 3—dijo el maestro— y los verás tú mismo.» --- ... how

Re: Weirdness with filter (maybe?)

2017-04-20 Thread hh via use-livecode
There is also brilliant work optimized for LC syntax. By the one and only LC-master of regex, Thierry: https://sunny-tdz.com/livecode/sunnyrex > Bob S. wrote: > Filter, unlike matchtext, in the form you are using, is not using regex. > There is a form of > filter however that does.

Re: Weirdness with filter (maybe?)

2017-04-20 Thread Bob Sneidar via use-livecode
Filter, unlike matchtext, in the form you are using, is not using regex. There is a form of filter however that does. If you need help with a regex expression, I use a neat little tool called RegexMagic. 30 day demo and not too expensive if you use regex expressions on a regular basis. (See

Re: Weirdness with filter (maybe?)

2017-04-20 Thread Alan via use-livecode
Try filter lines of MyList with ("*" & CharStringX & "*" & tab & "*") to get all lines where CharStringX is contained in the first part of the string before the tab. > filter lines of MyList with (

Re: Weirdness with filter (maybe?)

2017-04-20 Thread Alex Tweedly via use-livecode
I think it should be filter lines of MyList with (charStringX & TAB & *) i.e. get lines containing this string X followed by TAB followed by anything Alex On 20/04/2017 09:22, Quentin Long via use-livecode wrote: I have a return-delimited list. Each line of this list consists of [s

Weirdness with filter (maybe?)

2017-04-20 Thread Quentin Long via use-livecode
I have a return-delimited list. Each line of this list consists of [some text] & tab & [other text]. I want to see all the lines of the list for which [some text] contains Character String X. This is obviously a job for the filter command, right? So I try this: filter lines o

Re: LiveCode 8.1 and the Filter enhancements...

2016-09-14 Thread Monte Goulding
xed array of keys) but I don’t think that’s as flexible or readable as the by clause. Otherwise you would get some kind of horrible syntax like this to do the same thing: local tPath put “*” into tPath[1] put “col2” into tPath[2] filter elements of tArray with key path tPath matching “so

Re: LiveCode 8.1 and the Filter enhancements...

2016-09-14 Thread Richard Gaskin
Monte Goulding wrote: > Actually what you are describing is probably better implemented with > the by clause I have suggested here: > http://quality.livecode.com/show_bug.cgi?id=18309 > > You could then: > > filter elements of tArray by each[“col2”] is “some” > > O

Re: LiveCode 8.1 and the Filter enhancements...

2016-09-14 Thread Monte Goulding
> On 15 Sep 2016, at 7:06 AM, Paul Dupuis <p...@researchware.com> wrote: > > For those using LC 8.1, and have tried the new filter command's support > for arrays, I have a question: > > I see you can filter by keys or elements from the documentations, which > is g

LiveCode 8.1 and the Filter enhancements...

2016-09-14 Thread Paul Dupuis
For those using LC 8.1, and have tried the new filter command's support for arrays, I have a question: I see you can filter by keys or elements from the documentations, which is great, but I don's see how I would do another common item Let say I have an array that is a table (a common model

Re: New(ish) option on the filter command

2016-07-18 Thread Dr. Hawkins
On Sat, Jul 16, 2016 at 4:10 PM, Alex Tweedly <a...@tweedly.net> wrote: > It should simply concatenate. Just like > put myVar after myOtherVar > does. > I see the logic in that, but just about any conceivable use would be dealing with items separated by data. maybe filter t

Re: New(ish) option on the filter command

2016-07-16 Thread Alex Tweedly
On 16/07/2016 00:22, [-hh] wrote: Usually one would do put cr & resultOfFilter2 after resultOfFilter1 Well, that depends ... if the first one had produced no matches, then this statement would introduce a spurious blank line. So the problem could be: What should "filter .. a

  1   2   3   >