Regular Expressions 101

Community Patterns

Ruckus REGEX

0

Regular Expression
PCRE (PHP <7.3)

/
(?P<date>\w{3}\s+\d{1,2}\s\d\d:\d\d:\d\d)\s+(?P<device>\S+)\s+(?:[^:]+:\s)@@(?P<sid_number>\d+),(?P<sid>[^,]+),(?:"zoneUUID"="(?P<zone_uuid>[^"]+)",|"apMac"="(?P<ap_mac>[^"]+)",|"clientMac"="(?P<client_mac>[^"]+)",|"bssid"="(?P<bssid>[^"]+)",|"userId"="(?P<user_id>[^"]*)",|"wlanId"="(?P<wlanId>\d+)",|"iface"="(?P<iface>\S+)",|"tenantUUID"="(?P<tenantUUID>\S+)"|"apName"="(?P<ap_name>[^"]+)",|"rogueMac"="(?P<rogue_mac>[^"]+)",|"ssid"="(?P<ssid>[^"]*)",|"wlanId"="(?P<wlan_id>[^"]+)",|"radio"="(?P<radio>[^"]+)",|"channel"="(?P<channel>[^"]+)",|"timestamp"="(?P<timestamp>\d{10})[^"]*",|"apLocation"="(?P<ap_location>[^"]+)",?|"timeZone"="(?P<time_zone>[^"]+)",|"zoneName"="(?P<zone_name>[^"]+)",?|"reason"="(?P<reason>[^"]+)",|"fwVersion"="(?P<fwVersion>[^"]+)",|"model"="(?P<model>[^"]+)",|"nodeName"="(?P<node_name>[^"]+)",|"licenseServerName"="(?P<licenseServerName>[^"]+)",?)+"
/
gm

Description

no description available

Submitted by anonymous - 5 years ago