These forums are read-only. Please send questions and feedback by email.

Can I use Regex classes?

Use this forum to ask any questions and to submit bug reports

Moderator: vuser

vuser
Posts: 38
Joined: Sat May 01, 2010 8:11 pm

Can I use Regex classes?

Postby vuser » Sun May 02, 2010 7:55 pm

Can I use Regular Expression "classes" in V?

For example, in Perl I would use [[:contr:]] to search for a control character

FileViewer
Site Admin
Posts: 286
Joined: Fri Apr 30, 2010 5:50 pm

Re: Can I use Regex classes?

Postby FileViewer » Sun May 02, 2010 9:16 pm

For example, in Perl I would use [[:contr:]] to search for a control character

Yes, you can specify character classes by using [[:class:]]

However, :contr: is not a valid Perl class name -you need to use :cntrl:

The following URL contains a list of valid Perl class names:

http://perldoc.perl.org/perlre.html

Regards,
Charles.


Return to “General Support”

Who is online

Users browsing this forum: No registered users and 2 guests