TOP

assert.matches

Description

Test if a string matches a regular expression. If they do not match, fail with the [default] message.

Parameters

Attribute Description
string A string
pattern The Java regular expression to match the string with
message Any additional instructions

Use <typedef resource="net/mdatools/modelant/util/assert.xml"/>
Documentation generated by ant.doc Ant macro from ModelAnt by MDA Tools