On May 7, 2015, at 15:30 , Randy Prothero <[email protected]> wrote:

> I have PacketFence up and running with Google OAuth2 for registration 
> authentication.
> I want to take different actions using a rule on the source I created.
> 
> I created using this path:
> Users -> Sources -> "Google" (external source) -> Rules
> 
> I created a new rule.
> The rule condition:
> 
> if 'all" of the following conditions are met:
> username  matches regexp  /![3-9]/
> 
> This does not work. I am trying to put a regexp pattern in there to match 
> only usernames that do not contain a number 3 through 9.
> What is the proper syntax for this regexp field in the admin interface?
> 


Try this: 

/^[^3-9]+$/

Regards,
--
Louis Munro
[email protected]  ::  www.inverse.ca 
+1.514.447.4918 x125  :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to