Re: REGEX and Livecode

2013-01-05 Thread Dr. Hawkins
On Fri, Jan 4, 2013 at 6:50 PM, Robert Sneidar wrote: > I seem to recall some noise has being made in the past that bits of Linux > source >was actually copied from Unix source, but I don't think anyone ever actually >proved >that. At one point, Novell stated that they didn't think that there wa

Re: REGEX and Livecode

2013-01-04 Thread Robert Sneidar
>From the Linux Wiki: A 2001 study of Red Hat Linux 7.1 found that this distribution contained 30 million source lines of code. Using the Constructive Cost Model, the study estimated that this distribution required about eight thousand man-years of development time. According to the study, if a

Re: REGEX and Livecode

2013-01-03 Thread Dr. Hawkins
On Wed, Jan 2, 2013 at 11:39 AM, Peter Haworth wrote: > Thanks Peter. I'm a Mac guy so not familiar with the Linux terminology, > although I probably have the utilities you mentioned since OSX is Linux at > its core. *ack* No. Backwards. It would be fair to call Linux "unix at its core." Dar

Re: REGEX and Livecode

2013-01-02 Thread Peter Haworth
Thanks Kay, I came across regExhibit a couple of days ago and it's been my main learning tool. Before that I was using a very similar tool at http://www.gskinner.com/RegExr/. One thing I liked about that is that it allows you to save regexs with descriptions of what they do Pete lcSQL Software <

Re: REGEX and Livecode

2013-01-02 Thread J. Landman Gay
On 1/2/13 6:55 PM, Kay C Lan wrote: As you are on Mac I would highly recommend downloading the free Bwana: http://www.bruji.com/bwana/ This is a simple tool that loads the 'man' pages into Safari - these are the manual pages for the tools, basically like the LC Dictionary entries for each comma

Re: REGEX and Livecode

2013-01-02 Thread Kay C Lan
[Sent again because the first one was too long - too many previous posts included I guess] Peter H, Richmond, and anyone else on Mac looking for a stepping stone into grep, regex and Unix command line tools, whilst nothing Peter A said was wrong, unless you are only doing something very minor wit

Re: REGEX and Livecode

2013-01-02 Thread Peter M. Brigham
On Jan 2, 2013, at 6:57 AM, David C. wrote: > I think without question that they [regex] must be the most arcane, yet > powerful programming tools ever devised APL is surely a contender here, eg: R<-1000 (~RεRº_xR)/R<-1|iR gives you all the prime numbers less than 1000 (I had to approximate t

Re: REGEX and Livecode

2013-01-02 Thread Robert Sneidar
EEEK! Not anymore. It's full blown UNIX since Tiger if I am not mistaken. Bob On Jan 2, 2013, at 11:39 AM, Peter Haworth wrote: > Thanks Peter. I'm a Mac guy so not familiar with the Linux terminology, > although I probably have the utilities you mentioned since OSX is Linux at > its core. >

Re: REGEX and Livecode

2013-01-02 Thread Peter Haworth
ith LiveCode, it does text excellently, but it depends what > you are doing and whether you want to just use a command on a file, or > actually write a program. The commands and the way they can be made to > interact are just very quick, powerful and flexible ways of doing stuff > with > t

Re: REGEX and Livecode

2013-01-02 Thread David C.
> ...The real point of Linux however in terms of features is the shell, > and the > thing about this is that regex is like the air in the shell. Its all around > and being used all the time, and is accessible from anywhere. Any Linux > editor will support them. Geany is what I use, but Kate is

Re: REGEX and Livecode

2013-01-02 Thread Peter Alcibiades
t. A bit longer than I had meant. If you want to try a distribution, get the xfce version of PCLinuxOS to start. But Debian is where you will end up. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/REGEX-and-Livecode-tp46

Re: REGEX and Livecode

2013-01-01 Thread Peter Haworth
fi...@yahoo.co.uk> wrote: > Richmond, also have a look at txt2regex and regexxer. Should be in the > repositories. > > Peter > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/REGEX-and-Livecode-tp4658514p4658583.html > Sent f

Re: REGEX and Livecode

2013-01-01 Thread Richmond
View this message in context: http://runtime-revolution.278305.n4.nabble.com/REGEX-and-Livecode-tp4658514p4658583.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com P

Re: REGEX and Livecode

2013-01-01 Thread Peter Alcibiades
REGEX-and-Livecode-tp4658514p4658582.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription prefer

Re: REGEX and Livecode

2013-01-01 Thread Kay C Lan
Read the LC Dictionary entry for matchText. Regex IS already implemented in LC, if you care to use it. More importantly to you, as the dictionary states, it is PCRE library compatible, which to me means it is OS agnostic. All you need to do is learn the syntax (admittedly not trivial for some of t

Re: REGEX and Livecode

2012-12-31 Thread Robert Sneidar
One of the reasons Regex is useful is a lot of SQL implementations support it. I suppose in theory at least, anything you can do with Regex, you can write a function to do in Livecode, but I am not so sure you could say the opposite. It really comes down to this. There are simple one liner Regex

Re: REGEX and Livecode

2012-12-31 Thread Richmond
On 12/31/2012 03:40 PM, David C. wrote: On Mon, Dec 31, 2012 at 4:55 AM, Richmond wrote: Sorry chaps to start a new thread on this, but, somehow lost track of the last one :( Having 'swallowed my pride' and accepted that there MIGHT be more to REGEX than pattern matching, as I outlined in earl

Re: REGEX and Livecode

2012-12-31 Thread David C.
On Mon, Dec 31, 2012 at 4:55 AM, Richmond wrote: > Sorry chaps to start a new thread on this, but, somehow lost track of the > last one :( > > Having 'swallowed my pride' and accepted that there MIGHT be more to REGEX > than > pattern matching, as I outlined in earlier postings, I had a look at th

REGEX and Livecode

2012-12-31 Thread Richmond
Sorry chaps to start a new thread on this, but, somehow lost track of the last one :( Having 'swallowed my pride' and accepted that there MIGHT be more to REGEX than pattern matching, as I outlined in earlier postings, I had a look at the URLs various people on the Use-List provided: Finding