You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
typedef system-id {
type string {
pattern
'^[0-9A-Fa-f]{4}\.[0-9A-Fa-f]{4}\.[0-9A-Fa-f]{4}';
}
}
It has only ^ at the beginning.
clixon> set system-id 1111.1111.1111
CLI syntax error: "set system-id 1111.1111.1111": regexp match fail: 1111.1111.1111 does not match ^[0-9A-Fa-f]{4}.[0-9A-Fa-f]{4}.[0-9A-Fa-f]{4}
Even though it is a valid regular expression match. Was working in 4.3 version.
Workaround is either both ^ $ should be given or without both of them.
The text was updated successfully, but these errors were encountered:
Consider the following pattern.
It has only ^ at the beginning.
clixon> set system-id 1111.1111.1111
CLI syntax error: "set system-id 1111.1111.1111": regexp match fail: 1111.1111.1111 does not match ^[0-9A-Fa-f]{4}.[0-9A-Fa-f]{4}.[0-9A-Fa-f]{4}
Even though it is a valid regular expression match. Was working in 4.3 version.
Workaround is either both ^ $ should be given or without both of them.
The text was updated successfully, but these errors were encountered: