Welcome, Guest. Please login or register.

Author Topic: Red CLI light bulb troubleshooting  (Read 8948 times)

gernreich

  • Guest
Re: Red CLI light bulb troubleshooting
« Reply #15 on: May 21, 2009, 05:55:34 PM »
after  your first post I put in an actual physical space after the full colon.  That seemed to be working but I changed it to "\s?" to allow zero or one space.

Thanks!  We'll see how it goes.  Is the regexp for the login case insensative?

Sampson Fung

  • Guest
Re: Red CLI light bulb troubleshooting
« Reply #16 on: May 21, 2009, 06:07:11 PM »
after  your first post I put in an actual physical space after the full colon.  That seemed to be working but I changed it to "\s?" to allow zero or one space.

Thanks!  We'll see how it goes.  Is the regexp for the login case insensative?

I guess the regexp is case sensitive. 

I still not getting how to write regexp to what I want ...

But I will just use (sername|ogin):\s?
So, no upper/lower cases at all.


gernreich

  • Guest
Re: Red CLI light bulb troubleshooting
« Reply #17 on: May 21, 2009, 06:16:26 PM »
I think it is case insensitive.  One of the devices that is working is "Username"  when others with "Username" are not working.