Forum Discussion
2 Replies
Sort By
- Michael_JenkinsCirrostratus
Can't test it right now, but off the top of my head, have you tried wrapping the $USER like this:
? or perhaps the mcget:[string tolower $USER]
.[string tolower [mcget {session.ssl.cert.subject}]]
- Ruggerfly1Nimbostratus
this worked perfectly - thank you!
regexp {(?x)(CN)=lab.([^,]+)} [mcget {session.ssl.cert.subject}] match CN USER; return [string tolower $USER]