Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #7661

Re: Regex strings

From "Willie Moore" <williem@wmconsulting.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Regex strings
Date 2015-01-14 08:31 -0600
Organization Aioe.org NNTP Server
Message-ID <m95ukt$6lp$1@speranza.aioe.org> (permalink)
References <740e6786-cf13-49b8-b8b3-375916fa159b@googlegroups.com>

Show all headers | View raw


Philippe,

The easiest way to implement a diverse regex from inside VO would be to 
write a class library in Vulcan, C#, or VB and expose the methods via COM. 
dotNet has very good support for regex.

Regards,
Willie
Vulcan VIP

"Philippe Bayard (Belgium)"  wrote in message 
news:740e6786-cf13-49b8-b8b3-375916fa159b@googlegroups.com...

Hi everyone,

i'm looking for some classes or library to use RegEx expressions.
I'm trying to find out the encoding of files and strings.

My issue is that i can work with multiples encodings. The main ones are :

- ANSI
- UTF-8
- UTF-8 without BOM

It's quite easy to know if i work with a UTF-8 file, testing the BOM.
But it's becoming a bit more difficult to separate UTF-8 from ANSI whithout 
this.

A classic way is to try specific encoding characters to try to figure out 
what sort of file we have.

I know that in the others langugages there are plenty of functions like 
preg_match in php. Did someone already did this?

Thanks in advance,
Phil.

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Regex strings "Philippe Bayard (Belgium)" <philbayard@gmail.com> - 2015-01-14 05:09 -0800
  Re: Regex strings "Willie Moore" <williem@wmconsulting.com> - 2015-01-14 08:31 -0600

csiph-web