Re: [Gambas-user] OpenGL quaestion.

2011-07-27 Thread Kevin Fishburne
On 06/12/2011 03:50 PM, Tomek wrote: > I've ported around 20 OpenGl tutorials already and you can find them on > gambasforum.com. gambasforum.com has been moved to whiteislandsoftware.com. I found all the OpenGL examples here: http://whiteislandsoftware.com/forum/index.php?page=topicview&type=m

Re: [Gambas-user] Multiline RegExp

2011-07-27 Thread Jesus
El 27/07/11 12:53, Demosthenes Koptsis escribió: > Thanks Ian! > > It would be more easy the RegExp to return an Array of results like grep > returns all the matches of multiline text. > > > On Wed, 2011-07-27 at 20:13 +1000, Ian Haywood wrote: >> On Wed, Jul 27, 2011 at 5:34 PM, Demosthenes Kop

Re: [Gambas-user] Multiline RegExp [more OT]

2011-07-27 Thread Kevin Fishburne
On 07/27/2011 11:33 AM, Caveat wrote: > Last time I looked this wasn't a mailing list dedicated exclusively to > technical subjects, but a mailing list for Gambas developers to share > ideas and have discussions. We're the kind of people that are most > likely to be at risk from the crazy software

Re: [Gambas-user] Multiline RegExp [more OT]

2011-07-27 Thread Caveat
Last time I looked this wasn't a mailing list dedicated exclusively to technical subjects, but a mailing list for Gambas developers to share ideas and have discussions. We're the kind of people that are most likely to be at risk from the crazy software patents situation. I also added [OT] to the

Re: [Gambas-user] Multiline RegExp [more OT]

2011-07-27 Thread Rob
On Wednesday 27 July 2011 08:53, Caveat wrote: > Right here, it seems like HTC *IS* losing the battle against Apple over > this very patent! As we all appear to agree, there's an abundance of > prior art, so why the heck has the initial determination gone to Apple? I don't run the list, but I'd r

Re: [Gambas-user] Multiline RegExp [more OT]

2011-07-27 Thread Caveat
On Wed, 2011-07-27 at 08:19 -0400, Rob wrote: > That they were given it is sad, but if they were to try to enforce it > against someone with enough money to make it worth their while, it's > likely they would lose the patent. http://fosspatents.blogspot.com/2011/07/itc-judge-finds-htc-in-infring

Re: [Gambas-user] Multiline RegExp [slightly OT]

2011-07-27 Thread Rob
On Wednesday 27 July 2011 07:45, Caveat wrote: > But if you were to make a commercial product that looked through some > data, picked out the email addresses (whether it uses regular > expressions or not to achieve that is irrelevant), high-lighted them and > allowed the user to perform some action

Re: [Gambas-user] Multiline RegExp [slightly OT]

2011-07-27 Thread Demosthenes Koptsis
Ah i see ! The regular expression and the usage of grep command does this. The grep command colorize with red the results. Also if the text is multiline returns in color only the matches of regexp. i bring here, in Gambas, the output style of grep command not for the colorize part but fo

Re: [Gambas-user] Multiline RegExp [slightly OT]

2011-07-27 Thread Caveat
No, as far as I know they haven't managed (yet! lol) to patent the use of regular expressions. You need to read the text of the patent or my summary here: > recognising stuff (phone numbers, email addresses, web urls) in data, > > high-lighting it, and allowing a user to interact with it and perf

Re: [Gambas-user] Multiline RegExp [slightly OT]

2011-07-27 Thread Demosthenes Koptsis
ok. But as you say, Apple's lawyers can knock the door of anyone who uses regular expressions. Is this true? On Wed, 2011-07-27 at 13:08 +0200, Caveat wrote: > There is no problem in your code, nor in the mail addresses you show as > examples, I was merely trying to point out a problem in the pa

Re: [Gambas-user] Multiline RegExp [slightly OT]

2011-07-27 Thread Caveat
There is no problem in your code, nor in the mail addresses you show as examples, I was merely trying to point out a problem in the patent system itself. It seems as if Apple has manged to patent the "novel idea" of recognising stuff (phone numbers, email addresses, web urls) in data, high-lightin

Re: [Gambas-user] Multiline RegExp

2011-07-27 Thread Demosthenes Koptsis
Thanks Ian! It would be more easy the RegExp to return an Array of results like grep returns all the matches of multiline text. On Wed, 2011-07-27 at 20:13 +1000, Ian Haywood wrote: > On Wed, Jul 27, 2011 at 5:34 PM, Demosthenes Koptsis > wrote: > > > 2) The Pattern i use is: > > (?i)\b[a-z0-9

Re: [Gambas-user] Multiline RegExp [slightly OT]

2011-07-27 Thread Demosthenes Koptsis
sorry but i dont understand where is the patent problem. There are many regexp which "recognize data" such emails. So i think here is not the problem. See for example http://regexlib.com/Search.aspx?k=email&c=-1&m=-1&ps=20 If you mean the @yahoo.com emails this is an example. i can change it l

Re: [Gambas-user] Multiline RegExp

2011-07-27 Thread Ian Haywood
On Wed, Jul 27, 2011 at 5:34 PM, Demosthenes Koptsis wrote: > 2) The Pattern i use is: > (?i)\b[a-z0-9._%\-]+@[a-z0-9._%\-]+\.[A-Z]{2,4}\b > > 3) The result is only one email: > di...@yahoo.gr > > and not the rest of them. as you are only calling regexp once, you will only get one result, you nee

Re: [Gambas-user] Multiline RegExp [slightly OT]

2011-07-27 Thread Caveat
I hope you realise that the work you're doing may result in you infringing Apple's patent: U.S. Patent No. 5,946,647 on a "system and method for performing an action on a structure in computer-generated data" (in its complaint, Apple provides examples such as the recognition of "phone numbers, pos

Re: [Gambas-user] Multiline RegExp

2011-07-27 Thread Demosthenes Koptsis
i used also Multiline http://gambasdoc.org/help/comp/gb.pcre/regexp/multiline?v3 and DotAll http://gambasdoc.org/help/comp/gb.pcre/regexp/dotall?v3 with this code - ' Gambas class file Private sRegExp As Regexp Public Sub Form_Open() Me.Center End Public Sub btnMat