Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Implement regexp factorization #20

Open
jvoisin opened this issue Feb 21, 2017 · 1 comment
Open

Implement regexp factorization #20

jvoisin opened this issue Feb 21, 2017 · 1 comment

Comments

@jvoisin
Copy link

jvoisin commented Feb 21, 2017

It would be great to be able to factorize results like those ones:

BasicRule wl:1015 "mz:$URL:/api/fr/contents|$ARGS_VAR:type" "msg:Variable zone-wide on a specific url if it matches a comma";
BasicRule wl:1015 "mz:$URL:/api/ar/contents|$ARGS_VAR:type" "msg:Variable zone-wide on a specific url if it matches a comma";
BasicRule wl:1015 "mz:$URL:/api/en/contents|$ARGS_VAR:type" "msg:Variable zone-wide on a specific url if it matches a comma";
@jvoisin
Copy link
Author

jvoisin commented Feb 22, 2017

Things like this

BasicRule wl:1015 "mz:$URL:/api/contents/pouet|$ARGS_VAR:type" "msg:Variable zone-wide on a specific url if it matches a comma";
BasicRule wl:1015 "mz:$URL:/api/contents|$ARGS_VAR:type" "msg:Variable zone-wide on a specific url if it matches a comma";

should be simplified in

BasicRule wl:1015 "mz:$URL:/api/contents|$ARGS_VAR:type" "msg:Variable zone-wide on a specific url if it matches a comma";

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant