JadeRegexPattern Class Constants
The constant
| Class Constant | Value | Description |
|---|---|---|
| EndOfString | -1 | Can be used instead of a literal length in substring matches; for example, in cases where you want to match from an offset to the end of the string in methods like splitSubstring, use this constant to signify the end of the string for the len parameter. |
| Newline_Any | 128 |
Used in the setNewlineConvention method to specify any non‑ASCII Unicode character as the line‑ending character (in addition to those included in the Newline_AnyCrLf constant). |
| Newline_AnyCrLf | 160 |
Used in the setNewlineConvention method to specify any of the following as a line‑ending character.
This means that the data can contain a mixture of line‑ending character sequences. |
| Newline_Cr | 32 | Used in the setNewlineConvention method to specify the carriage return as the line‑ending character. |
| Newline_CrLf | 96 | Used in the setNewlineConvention method to specify the carriage return followed by line feed as the line‑ending character set. |
| Newline_Lf | 64 | Used in the setNewlineConvention method to specify the line feed as the line‑ending character. |
2020.0.01 and higher
