F.3 Comparison between regular expressions supported in Version 06-71 and earlier, and Version 07-00 and later
The following table lists the regular expressions that can be used by default in version 06-71 and earlier versions, and those supported from version 07-00. The table also lists the main extended regular expressions available from version 07-00.
Method |
Meaning |
Version 06-71 and earlier versions |
Version 07-00 and later versions |
||
---|---|---|---|---|---|
In Windows: (JP1-specific regular expression) |
In UNIX: (basic regular expression)#1 |
In Windows: (extended regular expression)#3 |
In UNIX: (extended regular expression)#2 |
||
Character string |
Signifies the line with the specified string. |
Y |
Y |
Y |
Y |
^string |
Signifies that the specified string is at the beginning of a line. |
Y |
Y |
Y |
Y |
string$ |
Signifies that the specified string is at the end of a line. |
Y |
Y |
Y |
Y |
^string$ |
Signifies the line that contains the specified string only. |
Y |
Y |
Y |
Y |
^$ |
Signifies a blank line. |
Y |
Y |
Y |
Y |
(period) |
Signifies any single character. |
Y |
Y |
Y |
Y |
.* |
A period (.) combined with an asterisk (*) signifies a single character. |
Y |
Y |
Y |
Y |
[string] |
Signifies any of the characters specified in the string enclosed by [ and ]. |
N |
Y |
Y |
Y |
[^string] |
Signifies characters other than those specified in the string enclosed by [ and ]. |
N |
Y |
Y |
Y |
[character-character] |
Signifies a single character within the range, in the ascending order of character codes. |
N |
Y |
Y |
Y |
[^character-character] |
Signifies a single character out of the range, in the ascending order of character codes. |
N |
Y |
Y |
Y |
character* |
Signifies the string in which the immediately preceding character is repeated at least zero times. |
Y |
Y |
Y |
Y |
character+ |
Signifies the string in which the immediately preceding character is repeated at least one time. |
N |
N |
Y |
Y |
character? |
Signifies the string in which the immediately preceding character is not repeated or only one time. |
N |
N |
Y |
Y |
Character{n} |
Signifies the string in which the immediately preceding character is repeated at least n times. |
N |
N |
Y |
Y |
Character{n,} |
Signifies the string in which the immediately preceding character is repeated at least n times. |
N |
N |
Y |
Y |
Character{n,m} |
Signifies the string in which the immediately preceding character is repeated at least n times, but m times or less. |
N |
N |
Y |
Y |
regular-expression|regular-expression |
Signifies either the right or left regular expressions. |
N |
N |
Y |
Y |
\special-character |
Handles a special character as an ordinary character. |
Y |
Y |
Y |
Y |
(regular-expression) |
Groups regular expressions. |
N |
N |
Y |
Y |