Page 1 of 1

Regular Expression (REGEX)

Posted: Sun Jan 29, 2017 3:46 am
by unixkd
Hi all

I need a REGEX parser in my application that will enable user to do FIND using regular expression like applicable in most Search dialog of various text editors.

I google and find the code below in VB and will need interpretation.

'Prepare a regular expression object
Dim myRegExp As RegExp
Dim myMatches As MatchCollection
Dim myMatch As Match
Set myRegExp = New RegExp
myRegExp.IgnoreCase = True
myRegExp.Global = True
myRegExp.Pattern = "regex"
Set myMatches = myRegExp.Execute(subjectString)
For Each myMatch in myMatches
MsgBox(myMatch.Value)
Next


Thanks

Joe

Re: Regular Expression (REGEX)

Posted: Mon Feb 06, 2017 12:30 pm
by skiman
Hi,

Take a look at
https://www.alaska-software.com/downloa ... ection=400

XbPCRE - Regular Expression Parser in Xbase++ from Phil Ide.

Re: Regular Expression (REGEX)

Posted: Tue Feb 07, 2017 3:23 pm
by unixkd
Thanks Chris

Kindly send me the username and password required to access the files

Joe

Re: Regular Expression (REGEX)

Posted: Tue Feb 07, 2017 7:57 pm
by Cliff Wiernik
Login to alaska-software.com with your user and password. Select downloads, click 2.0,1.9,1.82 and search for the program names in the seach box based on the link in the previous posts. This will provide the link for the current location. xbpcre allows you to download this zip file.

Re: Regular Expression (REGEX)

Posted: Tue Feb 07, 2017 10:00 pm
by Auge_Ohr