15 Apr
2015
15 Apr
'15
10:08 a.m.
On Apr 15, 2015, at 9:29 AM, Kostas Zorbadelos <kzorba@otenet.gr> wrote:
I am trying to perform a match against the full Cisco-AVPair string (Cisco-AVPair[*]) to get a specific part. The exact check I am performing is
It would be better to loop over the Cisco-AVPairs with a "foreach", and the match the one you want.
The problem is that the regex I am using matches all newlines, so I get all Cisco-AVpair[X] after my match. The regex /client-mac-address=(.*)$/ does not seem to work. Is there any way to match the newline and get only the mac-address I am interested in?
Not really. Alan DeKok.