Contents |
Character Matcher
The character matcher matches a single character. The character to match is defined by the matcher's text content. Only the first letter of that content is used when performing the match.
Syntax
<character>a</character>
Class
com.aptana.ide.lexer.matcher.CharacterMatcher
Children
<use/>
Attributes
Name | Description | Type | Default | Required |
---|---|---|---|---|
negate | Determines if the matcher should or should not match its character. True will match the character and false will match anything except its character. | boolean | true | no |
Character Class Matcher
The character class matcher matches one of a set of characters. The character set to match against is defined by the matcher's text content.
Syntax
<character-class>abcdefghijklmnopqrstuvwxyz</character-class>
Class
com.aptana.ide.lexer.matcher.CharacterClassMatcher
Children
none
Attributes
Name | Description | Type | Default | Required |
---|---|---|---|---|
negate | Determines if the matcher should or should not match its characters. True will match any character in its set and false will match anything except its characters. | boolean | true | no |
Digit Matcher
The digit matcher matches a single digit character. This matcher will return true for all values that return true in the Character.isDigit method.
Syntax
<digit/>
Class
com.aptana.ide.lexer.matcher.DigitMatcher
Children
none
Attributes
Name | Description | Type | Default | Required |
---|---|---|---|---|
negate | Determines if the matcher should or should not match digit character. True will match digits and false will match anything except digits. | boolean | true | no |
Hex Matcher
The hex matcher matches a single hexadecimal character. This matcher will return true for any of the following letters: abcdef ABCDEF 0123456789.
Syntax
<hex/>
Class
com.aptana.ide.lexer.matcher.HexMatcher
Children
none
Attributes
Name | Description | Type | Default | Required |
---|---|---|---|---|
negate | Determines if the matcher should or should not match hexadecimal characters. True will match hex digits and false will match anything except hex digits. | boolean | true | no |
Letter Matcher
The letter matcher matches a single letter. This matcher will return true for all values that return true in the Character.isLetter method.
Syntax
<letter/>
Class
com.aptana.ide.lexer.matcher.LetterMatcher
Children
none
Attributes
Name | Description | Type | Default | Required |
---|---|---|---|---|
negate | Determines if the matcher should or should not match letters. True will match letters and false will match anything except letters. | boolean | true | no |
Letter or Digit Matcher
The letter-or-digit matcher matches a single letter or digit. This matcher will return true for all values that return true in the Character.isLetter or the Character.isDigit method. This character class is commonly used as the first character of an identifier in many programming languages.
Syntax
<letter-or-digit/>
Class
com.aptana.ide.lexer.matcher.LetterOrDigitMatcher
Children
none
Attributes
Name | Description | Type | Default | Required |
---|---|---|---|---|
negate | Determines if the matcher should or should not match letters and digits. True will match letters and digits and false will match anything except letters and digits. | boolean | true | no |
Lowercase Letter Matcher
The lowercase letter matcher matches a single lowercase letter. This matcher will return true for all values that return true in the Character.isLowerCase method.
Syntax
<lowercase-letter/>
Class
com.aptana.ide.lexer.matcher.LowercaseLetterMatcher
Children
none
Attributes
Name | Description | Type | Default | Required |
---|---|---|---|---|
negate | Determines if the matcher should or should not match letters. True will match letters and false will match anything except letters. | boolean | true | no |
Uppercase Letter Matcher
The uppercase letter matcher matches a single uppercase letter. This matcher will return true for all values that return true in the Character.isUpperCase method.
Syntax
<uppercase-letter/>
Class
com.aptana.ide.lexer.matcher.UppercaseLetterMatcher
Children
none
Attributes
Name | Description | Type | Default | Required |
---|---|---|---|---|
negate | Determines if the matcher should or should not match letters. True will match letters and false will match anything except letters. | boolean | true | no |
Whitespace Matcher
The whitespace matcher matches a single whitespace character. This matcher will return true for all values that return true in the Character.isWhitespace method.
Syntax
<whitespace/>
Class
com.aptana.ide.lexer.matcher.WhitespaceMatcher
Children
none
Attributes
Name | Description | Type | Default | Required |
---|---|---|---|---|
negate | Determines if the matcher should or should not match whitespace.. | boolean | true | no |
Word Matcher
The word matcher matches a single letter, digit, or underscore. This matcher will return true for all values that return true in the Character.isLetter or the Character.isDigit method or if the character is an underscore. This character class is commonly used as the character following the first character of an identifier in many programming languages.
Syntax
<word/>
Class
com.aptana.ide.lexer.matcher.WordMatcher
Children
none
Attributes
Name | Description | Type | Default | Required |
---|---|---|---|---|
negate | Determines if the matcher should or should not match letters and digits and underscores. True will match letters and digits and underscores and false will match anything except letters and digits and underscores. | boolean | true | no |