RegExp in ACL 'Change settings'

Moderator: crythias

Post Reply
jlima
Znuny newbie
Posts: 34
Joined: 03 Jul 2014, 13:48
Znuny Version: 6.0.18
Real Name: Jorge Lima
Location: Braga, Portugal

RegExp in ACL 'Change settings'

Post by jlima »

Hi
I need to use matched text in the Change settings of an ACL.
Is it possible?

I have Match as
[regexp]^(\d\d)

And I need to include those two digits in the Change settings. So i wrote
[regexp]\1\d\d

In the agent interface I get an 'Internal Server Error' when the agent opens the form that would use it
In the apache log I get 'Reference to nonexistent group in regex' right after '\1'

Can anyone help?
thanks
OTRS 6.0.18 (public/testing) on CentOS with Postgres database
Post Reply