IsAsciiCharacter
Returns or sets whether the escape sequence stands for a character code instead of fixed text.
Get
Returns a Boolean.
Syntax: object.IsAsciiCharacter
- object
- required An object expression that evaluates to an EscapeSequence.
The default value is False. True means that EscapeString is a regular expression whose capture group holds the digits of a character code, and that ReplacementString is not used.
Let
Declared Friend. Sets the value.
Syntax: object.IsAsciiCharacter = value
- value
- A Boolean.
Remarks
Create sets the property from its isAsciiReplacement argument. Execute takes the ASCII path when the value is True, reading the digits in the base given by AsciiBase.
Example
Debug.Print EscapeSequence.Create("\n", vbNewLine).IsAsciiCharacter ' False
Debug.Print EscapeSequence.Create("\\(\d{3})", vbNullString, True).IsAsciiCharacter ' True
See Also
- AsciiBase property – the number base used when the value is True
- Create method – sets the value
- EscapeSequence class – overview