Regular expression is available for specifying index-level permissions for a role from this view.
But, when setting a regular expression pattern including dots, the dots are replaced with ‘?’ in the method submitAddIndex.
Then, the pattern created after the replacement is not always a valid regular expression pattern.
For example, when specifying ‘/./’ for the index input, it is replaced with '/?/’ after pushing the save button, where the pattern after the replacement is invalid.
Can this be a bug?
Can we use dots in regular expressions?
How about validating regular expressions before submitting?
Elasticserch version: 6.3.1
SeachGuard ES plugin version: 6-6.3.1-22.3
Kibana version: 6.3.1
SearchGuard Kibana plugin version: 6.3.1-14-beta-1