[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
] [
Newsgroup Home
]
[news.eclipse.modeling.m2t] Check/Xtend: Regular Expression syntax
From
: Hauke Fuhrmann <
haf@xxxxxxxxxxxxxxxxxxxxxx
>
Date
: Thu, 17 Sep 2009 12:23:19 +0200
Newsgroups
:
eclipse.modeling.m2t
Organization
: EclipseCorner
User-agent
: Thunderbird 2.0.0.23 (Macintosh/20090812)
Dear Xtend folks,
could you point me to some reference on the Syntax for regular expressions for Strings in Xtend and Check?
I want to use e.g.
name.matches("MyRegex");
Where MyRegex is a regular expression. I tried to follow the Java Syntax (
http://java.sun.com/javase/6/docs/api/java/util/regex/Pattern.html
) like
name.matches("\w*");
to make sure that something only consists of word characters. Unfortunately the syntax seems to be different.
Google didn't show me the way and the old oAW document also not (
http://www.openarchitectureware.org/pub/documentation/4.3.1/html/contents/core_reference.html#r10_expressions_language
)
Cheers, Hauke
Follow-Ups
:
[news.eclipse.modeling.m2t] Re: Check/Xtend: Regular Expression syntax
From:
Sven Efftinge
Prev by Date:
[news.eclipse.modeling.m2t] Re: [Acceleo] Downcasting issue again
Next by Date:
[news.eclipse.modeling.m2t] How to exit the FOR LOOP
Previous by thread:
[news.eclipse.modeling.m2t] [Acceleo] Passing external parameter
Next by thread:
[news.eclipse.modeling.m2t] Re: Check/Xtend: Regular Expression syntax
Index(es):
Date
Thread