List Info

Thread: Regular Expressions COM Object




Regular Expressions COM Object
user name
2006-10-31 09:14:18
Hi Rick,
One alternative is to use "Microsoft Scriptlet
Control". Using this,
you will be able to use the regular expression features
provided by
JavaScript.

I'm not sure what limitations you are talking about. If
Javascript also
has the limitations that you are trying to work around, then
you wont
be able to use this approach as well.

Regards,
Sarith Sutha.

frameexpert wrote:

> Hello All,
>
> I am look for a regular expressions COM (or ActiveX)
object that I can
> use. I am currently using VBScript.RegExp, but it has
some limitations.
> Does anyone know of another regular expressions COM
object that is
> available? Thanks in advance.
> 
> Rick Quatro


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Regex" group.
To post to this group, send email to regexgooglegroups.com
To unsubscribe from this group, send email to
regex-unsubscribegooglegroups.com
For more options, visit this group at http://grou
ps-beta.google.com/group/regex
-~----------~----~----~----~------~----~------~--~---

Regular Expressions COM Object
user name
2006-10-31 12:21:41
Hi Sarith,

Thanks for the reply. One example is that VBScript.RegExp does not support lookbehinds. Also, in one application, using Replace changed some of the special characters in my string. These were characters that were not being changed but should have passed through untouched. I found the PCRE (Perl Compatible Regular Expressions) code, but I don't think there is a COM wrapper around it. Since the source code is available, I may try to do this myself (if I can figure it out). Thanks again.

Rick

On 10/31/06, Sarith Sutha < sarithsuthagmail.com">sarithsuthagmail.com> wrote:

Hi Rick,
One alternative is to use "Microsoft Scriptlet Control&quot;. Using this,
you will be able to use the regular expression features provided by
JavaScript.

I'm not sure what limitations you are talking about. If Javascript also
has the limitations that you are trying to work around, then you wont
be able to use this approach as well.

Regards,
Sarith Sutha.

frameexpert wrote:

&gt; Hello All,
>
> I am look for a regular expressions COM (or ActiveX) object that I can
> use. I am currently using VBScript.RegExp, but it has some limitations.
> Does anyone know of another regular expressions COM object that is
> available? Thanks in advance.
&gt;
> Rick Quatro


http://www.frameexpert.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Regex" group.
To post to this group, send email to regexgooglegroups.com
To unsubscribe from this group, send email to regex-unsubscribegooglegroups.com
For more options, visit this group at http://groups-beta.google.com/group/regex
-~----------~----~----~----~------~----~------~--~---

Regular Expressions COM Object
user name
2006-10-31 12:21:41
Hi Sarith,

Thanks for the reply. One example is that VBScript.RegExp does not support lookbehinds. Also, in one application, using Replace changed some of the special characters in my string. These were characters that were not being changed but should have passed through untouched. I found the PCRE (Perl Compatible Regular Expressions) code, but I don't think there is a COM wrapper around it. Since the source code is available, I may try to do this myself (if I can figure it out). Thanks again.

Rick

On 10/31/06, Sarith Sutha < sarithsuthagmail.com">sarithsuthagmail.com> wrote:

Hi Rick,
One alternative is to use "Microsoft Scriptlet Control&quot;. Using this,
you will be able to use the regular expression features provided by
JavaScript.

I'm not sure what limitations you are talking about. If Javascript also
has the limitations that you are trying to work around, then you wont
be able to use this approach as well.

Regards,
Sarith Sutha.

frameexpert wrote:

&gt; Hello All,
>
> I am look for a regular expressions COM (or ActiveX) object that I can
> use. I am currently using VBScript.RegExp, but it has some limitations.
> Does anyone know of another regular expressions COM object that is
> available? Thanks in advance.
&gt;
> Rick Quatro


http://www.frameexpert.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Regex" group.
To post to this group, send email to regexgooglegroups.com
To unsubscribe from this group, send email to regex-unsubscribegooglegroups.com
For more options, visit this group at http://groups-beta.google.com/group/regex
-~----------~----~----~----~------~----~------~--~---

Regular Expressions COM Object
user name
2006-10-31 16:02:32
Note that the solution to this problem (as well as a
gazillion of
similar ones) is:

USE PERL


<applause>
Thank You, Thank You. Settle down now. Only happy to help

</applause>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Regex" group.
To post to this group, send email to regexgooglegroups.com
To unsubscribe from this group, send email to
regex-unsubscribegooglegroups.com
For more options, visit this group at http://grou
ps-beta.google.com/group/regex
-~----------~----~----~----~------~----~------~--~---

Regular Expressions COM Object
user name
2006-10-31 16:02:32
Note that the solution to this problem (as well as a
gazillion of
similar ones) is:

USE PERL


<applause>
Thank You, Thank You. Settle down now. Only happy to help

</applause>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Regex" group.
To post to this group, send email to regexgooglegroups.com
To unsubscribe from this group, send email to
regex-unsubscribegooglegroups.com
For more options, visit this group at http://grou
ps-beta.google.com/group/regex
-~----------~----~----~----~------~----~------~--~---

Regular Expressions COM Object
user name
2006-10-31 16:15:59
Hi Michael,

I would be glad to IF I could use Perl as a Windows COM object. My primary scripting language is FrameScript, which is a scripting environment for Adobe FrameMaker, a long-document page layout program. FrameScript does not support regular expressions natively, but allows me to access COM objects that are installed on my system. Because of this, I am able to use regular expressions in FrameScript using the VBScript.RegExp COM object. So my request is for a Perl-like regular expressions program that has a COM interface.

Interestingly, I have installed PerlScript on my computer, but apparently it only exposes Perl for web server scripting. It is not exposed as a normal Windows COM object. This would be ideal if it had a Windows COM interface.

So, for now you will have to applaud by yourself

Rick

On 10/31/06, Michael Gade < lord.gadegmail.com">lord.gadegmail.com > wrote:

Note that the solution to this problem (as well as a gazillion of
similar ones) is:

USE PERL


<;applause&gt;
Thank You, Thank You. Settle down now. Only happy to help
</applause>




--
Rick Quatro
585-659-8267
http://www.frameexpert.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Regex" group.
To post to this group, send email to regexgooglegroups.com
To unsubscribe from this group, send email to regex-unsubscribegooglegroups.com
For more options, visit this group at http://groups-beta.google.com/group/regex
-~----------~----~----~----~------~----~------~--~---

Regular Expressions COM Object
user name
2006-10-31 16:15:59
Hi Michael,

I would be glad to IF I could use Perl as a Windows COM object. My primary scripting language is FrameScript, which is a scripting environment for Adobe FrameMaker, a long-document page layout program. FrameScript does not support regular expressions natively, but allows me to access COM objects that are installed on my system. Because of this, I am able to use regular expressions in FrameScript using the VBScript.RegExp COM object. So my request is for a Perl-like regular expressions program that has a COM interface.

Interestingly, I have installed PerlScript on my computer, but apparently it only exposes Perl for web server scripting. It is not exposed as a normal Windows COM object. This would be ideal if it had a Windows COM interface.

So, for now you will have to applaud by yourself

Rick

On 10/31/06, Michael Gade < lord.gadegmail.com">lord.gadegmail.com > wrote:

Note that the solution to this problem (as well as a gazillion of
similar ones) is:

USE PERL


<;applause&gt;
Thank You, Thank You. Settle down now. Only happy to help
</applause>




--
Rick Quatro
585-659-8267
http://www.frameexpert.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Regex" group.
To post to this group, send email to regexgooglegroups.com
To unsubscribe from this group, send email to regex-unsubscribegooglegroups.com
For more options, visit this group at http://groups-beta.google.com/group/regex
-~----------~----~----~----~------~----~------~--~---

[1-7]

about | contact  Other archives ( Real Estate discussion Medical topics )