Regular Expressions 101

Save & Share

Flavor

  • PCRE2 (PHP >=7.3)
  • PCRE (PHP <7.3)
  • ECMAScript (JavaScript)
  • Python
  • Golang
  • Java 8
  • .NET 7.0 (C#)
  • Rust
  • Regex Flavor Guide

Function

  • Match
  • Substitution
  • List
  • Unit Tests

Tools

Sponsors
There are currently no sponsors. Become a sponsor today!
An explanation of your regex will be automatically generated as you type.
Detailed match information will be displayed here automatically.
  • All Tokens
  • Common Tokens
  • General Tokens
  • Anchors
  • Meta Sequences
  • Quantifiers
  • Group Constructs
  • Character Classes
  • Flags/Modifiers
  • Substitution
  • A single character of: a, b or c
    [abc]
  • A character except: a, b or c
    [^abc]
  • A character in the range: a-z
    [a-z]
  • A character not in the range: a-z
    [^a-z]
  • A character in the range: a-z or A-Z
    [a-zA-Z]
  • Any single character
    .
  • Alternate - match either a or b
    a|b
  • Any whitespace character
    \s
  • Any non-whitespace character
    \S
  • Any digit
    \d
  • Any non-digit
    \D
  • Any word character
    \w
  • Any non-word character
    \W
  • Non-capturing group
    (?:...)
  • Capturing group
    (...)
  • Zero or one of a
    a?
  • Zero or more of a
    a*
  • One or more of a
    a+
  • Exactly 3 of a
    a{3}
  • 3 or more of a
    a{3,}
  • Between 3 and 6 of a
    a{3,6}
  • Start of string
    ^
  • End of string
    $
  • A word boundary
    \b
  • Non-word boundary
    \B

Regular Expression

/
/
sg

Test String

Code Generator

Generated Code

#include <StringConstants.au3> ; to declare the Constants of StringRegExp #include <Array.au3> ; UDF needed for _ArrayDisplay and _ArrayConcatenate Local $sRegex = "(?s)(?P<changelog>(?=What)(What's new in (?P<version>[^\n\s\(]+).+?)(?=What|$))" Local $sString = "What's new in 6.33 (2015-Nov-06 12:49):" & @CRLF & _ "" & @CRLF & _ "*) dns - initial fix for situation when dynamic dns servers could disappear;" & @CRLF & _ "*) winbox - dropped support for winbox v3.0beta and v3.0rc (use winbox v3.0);" & @CRLF & _ "*) dhcpv6 - various improvement and fixes for dhcp-pd client and ippool6;" & @CRLF & _ "*) defconf - fixed rare situation where configuration was only partially loaded;" & @CRLF & _ "*) net - fix possible never ending loop when bad CDP discovery packet is received;" & @CRLF & _ "*) log - make default disk file name to reside in flash dir if it exists;" & @CRLF & _ "*) romon - change port list to be not ordered in export;" & @CRLF & _ "*) capsman - limit number of simultaneous DTLS handshakes;" & @CRLF & _ "*) capsman - fixed memory leak on CAP joining CAPsMAN when ssld is used;" & @CRLF & _ "*) winbox - added allow-fast-path to eoip, gre & ipip;" & @CRLF & _ "*) winbox - do not show power-cycle properties on non poe ports;" & @CRLF & _ "*) l2tp: implemented PPPoE over L2TP in LNS mode, RFC3817;" & @CRLF & _ "*) webfig - some of the setting were shifted to the right;" & @CRLF & _ "*) packages - allow to reinstall from bundle to separate packages & vice versa;" & @CRLF & _ "*) packages - prefer out of bundle packages when both of them are installed;" & @CRLF & _ "*) packages - fix a problem of upgrading bundle package to non bundled ones;" & @CRLF & _ "*) ipsec - force flow cache validation once in 1h;" & @CRLF & _ "*) winbox - make sure that all setting names get shown in full;" & @CRLF & _ "*) winbox - added poe power-cycle-ping settings to ethernet interfaces;" & @CRLF & _ "*) ppp - handle properly case were ppp client is given same address for local & remote end;" & @CRLF & _ "*) winbox - added vlan-mode & vlan-id to virtual-ap interface;" & @CRLF & _ "*) winbox - added timeout column to ipv6 address lists;" & @CRLF & _ "*) winbox - show SFP Tx/Rx Power properly;" & @CRLF & _ "*) winbox - added min-links to bonding interface;" & @CRLF & _ "*) winbox - do not show health menu on RB951Ui-2HnD;" & @CRLF & _ "*) winbox - added support for Login-Timeout & MAC-Auth-Mode in hotspot;" & @CRLF & _ "*) cerm - added option to disable crl download in '/certificate settings';" & @CRLF & _ "*) winbox - make user ssh key import work again;" & @CRLF & _ "*) webfig - make "Copy to Access List" work in CAPsMAN Registration Table;" & @CRLF & _ "*) userman - fix report generation problem which could result in some users being skipped from it;" & @CRLF & _ "*) winbox - fix to allow cpu-port as mirror-target" & @CRLF & _ "*) proxy - error.html parsing enhancement to improve performance" & @CRLF & _ "*) CCR1072 - improve ether1 performance under heavy load" & @CRLF & _ "*) routerboard - indicate RouterBOOT type in /system routerboard print;" & @CRLF & _ "*) mpls - properly use mpls mtu for routes;" & @CRLF & _ "*) cerm - fix key description for signed certificates;" & @CRLF & _ "*) trafflow - report flow addresses in v1 and v5 without NAT awareness;" & @CRLF & _ "*) hotspot - add mac-auth-mode setting for mac-as-passwd option;" & @CRLF & _ "*) hotspot - add login-timeout setting to force login for unauth hosts;" & @CRLF & _ "*) auto-upgrade - fixed auto upgrade for smipsbe;" & @CRLF & _ "*) dns - do not create duplicate entries for same dynamic dns server addresses;" & @CRLF & _ "*) ipsec - fix set on multiple policies which could result in adding non existent dynamic policies to the list;" & @CRLF & _ "*) email - allow server to be specified as fqdn which is resolved on each send;" & @CRLF & _ "*) fastpath - eoip,gre,ipip tunnels support fastpath (new per tunnel setting "allow-fast-path");" & @CRLF & _ "*) ppp, pptp, l2tp, pppoe - fix ppp compression related crashes;" & @CRLF & _ "*) cerm - also accept downloaded CRLs in PEM format;" & @CRLF & _ "*) userman - added 'history clear' to allow flushing undo history, which may take up significant amount of memory for huge databases with hundreds of users;" & @CRLF & _ "*) health - fix voltage for CRS109, CRS112 and CRS210 if powered from external adapter;" & @CRLF & _ "*) userman - added phone number support to signup form;" & @CRLF & _ "*) ip pool6 - try to acquire the same prefix if info matches recently freed;" & @CRLF & _ "*) ipsec - fix transport mode ph2 ID ports when policy selects specific ip protocol on initiator;" & @CRLF & _ "*) ipsec - use local-address for phase 1 matching and initiation;" & @CRLF & _ "*) route - fixed crash on removing route that was aggregated;" & @CRLF & _ "*) ipsec - fix replay window, was accidentally disabled since version 6.30;" & @CRLF & _ "*) ssh - allow host key import/export;" & @CRLF & _ "*) ssh - use 2048bit RSA host key when strong-crypto enabled;" & @CRLF & _ "*) ssh - support RSA keys for user authentication;" & @CRLF & _ "*) wlan - improved WMM-PowerSave support in wireless-cm2 package;" & @CRLF & _ "*) pptp & l2tp - fixed problem where android client could not connect if both dns names were not provided (was broken since v6.30);" & @CRLF & _ "*) auto-upgrade - added ability to select which versions to select when upgrading;" & @CRLF & _ "*) quickset - fixed HomeAP mode;" & @CRLF & _ "*) lte - improved modem identification to better support multiple identical modems;" & @CRLF & _ "*) snmp - fix system scripts table;" & @CRLF & _ "*) tunnels - eoip,eoipv6,gre,gre6,ipip,ipipv6,6to4 tunnels now support dns name as remote address;" & @CRLF & _ "*) fastpath - active mac-winbox or mac-telnet session no longer suspends fastpath;" & @CRLF & _ "*) fastpath - added per interface fastpath counters;" & @CRLF & _ "*) fastpath - added trafflow support in basic ipv4 and fasttrack ipv4 fastpath;" & @CRLF & _ "*) ppp - added on-up & on-down scripts to ppp profile;" & @CRLF & _ "*) winbox - allow to specify dns name in all the tunnels;" & @CRLF & _ "*) pppoe - added support for MTU > 1492 on PPPoE;" & @CRLF & _ "*) cerm - fix scep server certificate-reply degenerate PKCS#7 signed-data content;" & @CRLF & _ "*) ppp-client - added default channels for Alcatel OneTouch L100V;" & @CRLF & _ "*) defconf - fix for boards that had bridge with only wlan ports;" & @CRLF & _ "*) ovpn: support OpenWRT ovpn clients (or any other with enable-small option enabled);" & @CRLF & _ "*) cerm - use certificate file name for imported cert name;" & @CRLF & _ "*) fetch - fixed error message when error code 200 was received;" & @CRLF & _ "*) cerm - rebuild crl for local ca if crl file does not exist;" & @CRLF & _ "*) winbox - make directed broadcasts work for neighbor discovery;" & @CRLF & _ "*) upnp: automatically adjust mappings to new external ip change;" & @CRLF & _ "*) ppp - added ppp interface to upnp internals/externals if requested;" & @CRLF & _ "*) ppp - when adding ipv6 default route use user provided distance;" & @CRLF & _ "*) userman - allow to correctly enable CoA on router;" & @CRLF & _ "*) cerm - show crl nextupdate time;" & @CRLF & _ "*) ppp - added CoA support to PPPoE, PPTP & L2TP (Mikrotik-Recv-Limit, Mikrotik-Xmit-Limit, Mikrotik-Rate-Limit, Ascend-Data-Rate, Ascend-XMit-Rate, Session-Timeout);" & @CRLF & _ "*) ppp - added new option under "ppp aaa" - "use-circuit-id-in-nas-port-id";" & @CRLF & _ "*) userman - refresh active sessions/users view dynamically;" & @CRLF & _ "*) package - added version tag and show everywhere alongside of version number;" & @CRLF & _ "*) wlan - improved 802.11 protocol single connection TCP performance for ac chipset with cm2 package." & @CRLF & _ "" & @CRLF & _ "What's new in 6.32.2 (2015-Sep-17 15:20):" & @CRLF & _ "" & @CRLF & _ "*) cerm - guard template from parallel use" & @CRLF & _ "*) mipsle - fixed missing second level menu in CLI;" & @CRLF & _ "*) sstp - avoid routing loops on client when adding default route;" & @CRLF & _ "*) sstp - fixed problem where sometimes sstp ip addresses were invalid;" & @CRLF & _ "*) switch - fixed bogus log messages about excessive broadcasts/multicasts on master-port;" & @CRLF & _ "*) tftp - fix request file name reading from packet" & @CRLF & _ "*) pptp encryption - better handling for out-of-order packets;" & @CRLF & _ "*) ethernet - added support for new ASIX USB Ethernet dongles;" & @CRLF & _ "*) CAPsMAN - fix 100% CPU usage when trying to upgrade RouterOS on CAP;" & @CRLF & _ "*) upgrade - fixed default configuration export;" & @CRLF & _ "*) ppp - fixed ppp interface stuck in not running state;" & @CRLF & _ "*) ipsec - fixed kernel failure when packets were not ordered on first call;" & @CRLF & _ "*) upnp - randomize action urls to fix "filet-o-firewall" vulnerability;" & @CRLF & _ "*) RB532/RB564 - fixed no link after ethernet disable/enable;" & @CRLF & _ "*) romon - fixed default configuration export;" & @CRLF & _ "*) tile - fixed occasional deadlock on module unload;" & @CRLF & _ "*) mesh - fix router lock-up when interface is added/removed;" & @CRLF & _ "*) ipsec - fix sockaddr buf size on id generation for ipv6 address;" & @CRLF & _ "*) health - show correct voltage for CRS109,CRS112,CRS210 when powered through PSU and show voltage up to 27V when powered through PoE;" & @CRLF & _ "*) email - resolve server address;" & @CRLF & _ "*) snmp - show firmware upgrade info;" & @CRLF & _ "*) upgrade - report status in check-for-updates." & @CRLF & _ "" & @CRLF & _ "What's new in 6.32.1 (2015-Sep-07 13:03):" & @CRLF & _ "" & @CRLF & _ "*) RB911/912 - fixed lock-up;" & @CRLF & _ "*) RB493G - fixed reboot loop;" & @CRLF & _ "*) firewall - do not lose firewall mangle rules on start-up;" & @CRLF & _ "*) defconf - fix default configuration for routers without wireless package." & @CRLF & _ "" & @CRLF & _ "What's new in 6.32 (2015-Aug-31 14:47):" & @CRLF & _ "" & @CRLF & _ "*) trafflow - added support for IPv6 targets;" & @CRLF & _ "*) switch - fixed port flapping on switch ports of RB750, RB750UP, RB751U-2HnD and RB951-2N (introduced in 6.31)" & @CRLF & _ "*) ipsec - added compatibility option skip-peer-id-check;" & @CRLF & _ "*) flash - fix kernel failure (exposed by 6.31);" & @CRLF & _ "*) bridge firewall - add ipv6 src/dst addr, ip protocol, src/dst port matching to bridge firewall;" & @CRLF & _ "*) RB911/RB912 - fix SPI bus lock after fast led blink;" & @CRLF & _ "*) ipsec - fix potential memory leak;" & @CRLF & _ "*) bridge firewall - vlan matchers support service tag - 0x88a8;" & @CRLF & _ "*) ippool6 - try to acquire the same prefix if info matches recently freed;" & @CRLF & _ "*) crs switch - allow to unset port learn-limit, new default is unset to allow more than 1023 hosts per port;" & @CRLF & _ "*) x86 - fixed 32bit multi-cpu kernel support;" & @CRLF & _ "*) chr - add hotspot,btest,traffgen support;" & @CRLF & _ "*) revised change that caused reboot by watchdog problems introduced in v6.31;" & @CRLF & _ "*) ipsec - use local-address for phase 1 matching and initiation;" & @CRLF & _ "*) ipsec - fix transport mode ph2 ID ports when policy selects specific ip protocol on initiator;" & @CRLF & _ "*) certificates -fixed bug where crl stopped working after a while;" & @CRLF & _ "*) ip accounting - fixed kernel crash;" & @CRLF & _ "*) snmp - fix system scripts get;" & @CRLF & _ "*) hotspot - ignore PoD remote requests if no HotSpot configured;" & @CRLF & _ "*) hotspot - fix kernel failure when www plugin aborts on broken html source;" & @CRLF & _ "*) torch - add invert filter for src/dst/src6/dst6 addresses ;" & @CRLF & _ "*) bonding - add min_links property for 802.3ad mode;" & @CRLF & _ "*) snmp - get vlan speed from master interface;" & @CRLF & _ "*) hotspot - fix html-directory path on small flash devices;" & @CRLF & _ "*) mipsbe - make system shutdown work again;" & @CRLF & _ "*) lcd - fixed parallel port LCD display support on multi-cpu x86;" & @CRLF & _ "*) bridge - fixed use-ip-firewall-for-vlan in setups with multiple bridges;" & @CRLF & _ "*) ipv6 - fixed DHCP-PD client skips some steps when renewing lease;" & @CRLF & _ "*) upnp - fixed protocol port selection for upnp protocol comunications;" & @CRLF & _ "*) firewall - fixed limit and dst-limit options." & @CRLF & _ "*) winbox - fixed wireless interface l2mtu (VirtualAP and WDS interface creation in winbox)" & @CRLF & _ "*) winbox - fixed multiple firewall rule moving in Winbox 2" & @CRLF & _ "*) simple queues - restrict all changes in dynamic simple queues" & @CRLF & _ "" & @CRLF & _ "What's new in 6.31 (2015-Aug-14 15:42):" & @CRLF & _ "" & @CRLF & _ "*) check-for-update - added ability to select versions channel to check" & @CRLF & _ "(bugfix, current, RC or development)" & @CRLF & _ "*) demo mode of Cloud Hosted Router (CHR) added" & @CRLF & _ "*) chr - added x86_64 image for use in virtual environments" & @CRLF & _ "*) chr - added support for VMware SCSI virtual disks" & @CRLF & _ "*) chr - added support for VMware vmxnet3 network card" & @CRLF & _ "*) chr - added support for HyperV SCSI disks" & @CRLF & _ "*) chr - added support for HyperV Ethernet interfaces" & @CRLF & _ "*) chr - added support for virtio disks" & @CRLF & _ "*) fixed occasional interface resetting on CRS switches" & @CRLF & _ "*) fixed ethernet stopping on RB NetMetal / SXTG-5HPacD 10Mbit and 100Mbit links" & @CRLF & _ "*) ipsec - fixed crash in when gcm encryption was used" & @CRLF & _ "*) ipsec - allow to set peer address as "::/0"" & @CRLF & _ "*) ipsec - fixed empty sa-src address on acquire in tun mode" & @CRLF & _ "*) ipsec - show proposal info in export ipsec section" & @CRLF & _ "*) ipsec - preserve port wildcard when generating policy without port override" & @CRLF & _ "*) ipsec - fixed replay window, was accidentally disabled since version 6.30;" & @CRLF & _ "*) certificate manager - fixed memory leak" & @CRLF & _ "*) ssh - allow host key import/export" & @CRLF & _ "*) ssh - use 2048bit RSA host key when strong-crypto enabled" & @CRLF & _ "*) ssh - support RSA keys for user authentication" & @CRLF & _ "*) conntrack - fixed problem with manual connection removal" & @CRLF & _ "*) conntrack - added tcp-max-retrans-timeout and tcp-unacked-timeout" & @CRLF & _ "*) wireless - implemented l2mtu update if wireless-cm2 is enabled" & @CRLF & _ "*) wireless - improved WMM-PowerSave support in wireless-cm2 package" & @CRLF & _ "*) mpls - better multicore support for VPLS ingress/egress" & @CRLF & _ "*) ovpn - better multicore support for interface initialization/authentication/creation." & @CRLF & _ "*) mesh - performance improvement" & @CRLF & _ "*) pptp & l2tp - fixed problem where android client could not connect if both dns names were not provided (was broken since v6.30)" & @CRLF & _ "*) user-manager - fixed username was not shown in /tool user-manager user" & @CRLF & _ "*) user-manager - fixed zoom for user-manager homepage when mobile devices used" & @CRLF & _ "*) winbox - restrict change dynamic interface fields" & @CRLF & _ "*) winbox - also hide passphrase in CAPsMAN with "Hide Password"" & @CRLF & _ "*) winbox - restrict reversed ranges in dst-port under firewall" & @CRLF & _ "*) quickset - fixed HomeAP mode" & @CRLF & _ "*) lcd - added LCD package for all architectures (for serial port LCD modules)" & @CRLF & _ "*) lcd - fixed crash (and 100% cpu usage) when interface gets removed from "stats-all" screen" & @CRLF & _ "*) tool fetch - fixed incomplete ftp download" & @CRLF & _ "*) tool fetch - don't trim [t]ftp leading slashes" & @CRLF & _ "*) proxy - adjust time according to time-zone settings in proxy cache contents." & @CRLF & _ "*) bridge fastpath - fixed updating bridge FDB on receive (could cause TX traffic flooding on all bridge ports)" & @CRLF & _ "*) bonding fastpath - fixed possible crash when bonding master was also a bridge port" & @CRLF & _ "*) route - fixed crash on removing route that was aggregated" & @CRLF & _ "*) romon - fixed crash on SACKed tx segments" & @CRLF & _ "*) lte - improved modem identification to better support multiple identical modems" & @CRLF & _ "*) snmp - fixed system scripts table" & @CRLF & _ "*) traffic flow - fixed dynamic input/output interface reporting" & @CRLF & _ "*) ipv6 dhcp-relay - fixed problem loading configuration" & @CRLF & _ "" & @CRLF & _ "known issue:" & @CRLF & _ "*) Dynamic DNS servers can disappear when "allow-remote-requests" are not enabled" & @CRLF & _ "" & @CRLF & _ "What's new in 6.30 (2015-Jul-08 09:07):" & @CRLF & _ "" & @CRLF & _ "*) wireless - added WMM power save suport for mobile devices;" & @CRLF & _ "*) firewall - sip helper improved, large packets no longer dropped;" & @CRLF & _ "*) fixed encryption 'out of order' problem on SMP systems;" & @CRLF & _ "*) email - fix sending multiple consecutive emails;" & @CRLF & _ "*) fixed router lockup on leap seconds with installed ntp package;" & @CRLF & _ "*) ccr - made hardware watchdog work again (was broken since v6.26);" & @CRLF & _ "*) console - allow users with 'policy' policy to change script owner;" & @CRLF & _ "*) icmp - use receive interface address when responding with icmp errors;" & @CRLF & _ "*) ipsec - fail ph2 negitioation when initiator proposed key length" & @CRLF & _ " does not match proposal configuration;" & @CRLF & _ "*) timezone - updated timezone information to 2015e release;" & @CRLF & _ "*) ssh - added option '/ip ssh stong-crypto'" & @CRLF & _ "*) wireless - improve ac radio coexistence with other wireless clients, optimized " & @CRLF & _ " transmit times to not interfere with other devices;" & @CRLF & _ "*) console - values of $".id", $".nextid" and $".dead" are avaliable for" & @CRLF & _ " use in 'print where' expressions;" & @CRLF & _ "*) console - ':execute' command now accepts script source in "{}" braces," & @CRLF & _ " like '/system scripts add source=' does;" & @CRLF & _ "*) console - ':execute' command now returns internal number of running job," & @CRLF & _ " that can be used to check and stop execution. For example:" & @CRLF & _ " :local j [:execute {/interface print follow where [:log info "$name"]}]" & @CRLF & _ " :delay 10s" & @CRLF & _ " :do { /system script job remove $j } on-error={}" & @CRLF & _ "*) console - firewall 'print' commands now show all entries including" & @CRLF & _ " dynamic, 'all' argument now has no effect;" & @CRLF & _ "*) ipsec - increase replay window to 128;" & @CRLF & _ "*) fixed file transfer on devices with large RAM memory;" & @CRLF & _ "*) pptp - fixed "encryption got out of sync" problem;" & @CRLF & _ "*) ppp - disable vj tcp header compression;" & @CRLF & _ "*) api - reduce api tcp connection keepalive delay to 30 seconds," & @CRLF & _ " will timeout idle connections in about 5 minutes;" & @CRLF & _ "*) pptp & l2tp & sstp client: support the case were server issues its tunnel" & @CRLF & _ " ip address the same as its public one;" & @CRLF & _ "*) removed wireless package from routeros bundle package," & @CRLF & _ " new wireless-fp is left in place and wireless-cm2 added as option;" & @CRLF & _ "*) pptp & l2tp client: when adding default route, add special exception route for" & @CRLF & _ " a tunnel itself (no need to add it manually anymore);" & @CRLF & _ "*) improved connection list: added connection packet/byte counters," & @CRLF & _ " added separate counters for fasttrack, added current rate display," & @CRLF & _ " added flag wheather connection is fasttracked/srcnated/dstnated," & @CRLF & _ " removed 2048 connection entry limit;" & @CRLF & _ "*) tunnels - eoip, eoipv6, gre,gre6, ipip, ipipv6, 6to4 tunnels" & @CRLF & _ " have new property - ipsec-secret - for easy setup of ipsec" & @CRLF & _ " encryption and authentication;" & @CRLF & _ "*) firewall - added ipsec-policy matcher to check wheather packet" & @CRLF & _ " was/will be ipsec processed or not;" & @CRLF & _ "*) possibility to disable route cache - improves DDOS attack" & @CRLF & _ " handling performance up to 2x (note that ipv4 fastpath depends on route cache);" & @CRLF & _ "*) fasttrack - added dummy firewall rule in filter and mangle tables" & @CRLF & _ " to show packets/bytes that get processed in fasttrack and bypass firewall;" & @CRLF & _ "*) fastpath - vlan interfaces support fastpath;" & @CRLF & _ "*) fastpath - partial support for bonding interfaces (rx only);" & @CRLF & _ "*) fastpath - vrrp interfaces support fastpath;" & @CRLF & _ "*) fixed memory leak on CCR devices (introduced in 6.28);" & @CRLF & _ "*) lte - improved modem identification to better support multiple identical modems;" & @CRLF & _ "*) snmp - fix system scripts table;" & @CRLF & _ "" & @CRLF & _ "What's new in 6.29 (2015-May-27 11:19):" & @CRLF & _ "" & @CRLF & _ "*) ssh server - use custom generated DH primes when possible;" & @CRLF & _ "*) ipsec - allow to specify custom IP address for my_id parameter;" & @CRLF & _ "*) ovpn server - use subnet topology in ip mode if netmask is provided (makes android & ios " & @CRLF & _ " clients work);" & @CRLF & _ "*) console - allow '-' characters in unknown command argument names;" & @CRLF & _ "*) snmp - fix rare bug when some OIDs where skipped;" & @CRLF & _ "*) ssh - added aes-ctr cipher support;" & @CRLF & _ "*) mesh - fixed kernel crash;" & @CRLF & _ "*) ipv4 fasttrack fastpath - accelerates connection tracking and nat for marked" & @CRLF & _ " connections (more than 5x performance improvement compared to regular slow" & @CRLF & _ " path conntrack/nat) - currently limited to TCP/UDP only;" & @CRLF & _ "*) added ~fasttrack-connection~ firewall action in filter/mangle tables for marking" & @CRLF & _ " connections as fasttrack;" & @CRLF & _ "*) added fastpath support for bridge interfaces - packets received and transmitted" & @CRLF & _ " on bridge interface can go fastpath (previously only bridge forwarded packets" & @CRLF & _ " could go fastpath);" & @CRLF & _ "*) packets now can go half-fastpath - if input interface supports fastpath and" & @CRLF & _ " packet gets forwarded in fastpath but output interface does not support fastpath" & @CRLF & _ " or has interface queue other than only-hw-queue packet gets converted" & @CRLF & _ " to slow path only at the dst interface transmit time;" & @CRLF & _ "*) trafflow: add natted addrs/ports to ipv4 flow info;" & @CRLF & _ "*) tilegx: enable autoneg for sfp ports in netinstall;" & @CRLF & _ "*) health - fix voltage on some RB4xx;" & @CRLF & _ "*) romon - fix 100% CPU usage;" & @CRLF & _ "*) romon - moved under tools menu in console;" & @CRLF & _ "*) email - store hostname for consistency;" & @CRLF & _ "*) vrrp - do not reset interface when no interesting config changes;" & @CRLF & _ "*) fixed async. ppp server;" & @CRLF & _ "*) sstp - fixed router lockup." & @CRLF & _ "*) queue tree: some queues would stop working after some configuration changes;" & @CRLF & _ "*) fixed CRS226 10G ports could lose link (introduced in 6.28);" & @CRLF & _ "*) fixed FREAK vulnerability in SSL & TLS;" & @CRLF & _ "*) firewall - fixed sector writes rising starting since 6.28;" & @CRLF & _ "*) improved support for new hEX lite;" & @CRLF & _ "" & @CRLF & _ "What's new in 6.28 (2015-Apr-15 15:18):" & @CRLF & _ "" & @CRLF & _ "*) email - increase server greeting timeout to 60s;" & @CRLF & _ "*) lte - ZTE MF823 may loose configuration;" & @CRLF & _ "*) userman - update paypal root certificate;" & @CRLF & _ "*) timezone - updated timezone information to 2015b release;" & @CRLF & _ "*) cm2 - fixed capsman v2 100% CPU and other stability improvements;" & @CRLF & _ "*) route - using ldp could cause connected routes with" & @CRLF & _ " invalid interface nexthop;" & @CRLF & _ "*) added support for SiS 190/191 PCI Ethernet adapter;" & @CRLF & _ "*) made metarouter work on boards with 802.11ac support or usb LTE;" & @CRLF & _ "*) sstp server - allow ADH only when no certificate set;" & @CRLF & _ "*) make fat32 disk formatting support disks bigger than 134GiB;" & @CRLF & _ "*) fixed tunnels - could crash when clamp-tcp-mss was enabled;" & @CRLF & _ "*) added basic counters for ipv4/bridge fast path, also show status wether fast" & @CRLF & _ " path is active at all;" & @CRLF & _ "*) trafflow: - fixed crash on disable;" & @CRLF & _ "*) pppoe over eoip - fixed crash with large packets;" & @CRLF & _ "*) tilegx - fixed memory leak when queue settings are changed;" & @CRLF & _ "*) ar9888 - fixed crash when hw reports invalid rate;" & @CRLF & _ "*) console - fixed "in" operator in console;" & @CRLF & _ "*) console - make "/system package update print" work again." & @CRLF & _ "*) tile - rare situation when CCR devices failed to auto-negotiate ethernet link (introduced in v6.25);" & @CRLF & _ "*) dhcpv4 client - it is now possible to unset default clientid and hostname options" & @CRLF & _ "*) initial RoMon (Router Management Overlay Network) support added." & @CRLF & _ "" & @CRLF & _ "What's new in 6.27 (2015-Feb-11 13:24):" & @CRLF & _ "" & @CRLF & _ "*) console - added 'comment' parameter for '/system script'" & @CRLF & _ "*) api - return sentences can have property ".section" that groups values" & @CRLF & _ " from commands such as "monitor", "traceroute"," & @CRLF & _ " "print" (with non-zero 'interval' value);" & @CRLF & _ "*) cloud - add time zone detection feature "/system clock time-zone-autodetect";" & @CRLF & _ "*) cloud - rename "/ip cloud enabled" to "/ip cloud ddns-enabled";" & @CRLF & _ "*) cloud - make "/ip cloud update-time" independent from "/ip cloud ddns-enabled"" & @CRLF & _ "*) cloud - when setting "/ip cloud ddns-enabled" to "no" router will send" & @CRLF & _ " message to server to disable DNS name for this routerboard;" & @CRLF & _ "*) cloud - "/ip cloud force-update" command now will work also when" & @CRLF & _ " "/ip cloud ddns-enabled = no". usefull if user wants to disable DDNS;" & @CRLF & _ "*) RB4xxGL - improved ethernet throughput (less dropped packets);" & @CRLF & _ "*) RouterBOARD - fixed health reporting;" & @CRLF & _ "*) check-installation: fixed wrong kernel crc on powerpc boards" & @CRLF & _ "*) watchdog: fix software watchdog for x86" & @CRLF & _ "*) ssh - check conn state before sending disconnect message;" & @CRLF & _ "*) ipsec - fixed crash that happened in specific situation;" Local $aArray = StringRegExp($sString, $sRegex, $STR_REGEXPARRAYGLOBALFULLMATCH) Local $aFullArray[0] For $i = 0 To UBound($aArray) -1 _ArrayConcatenate($aFullArray, $aArray[$i]) Next $aArray = $aFullArray ; Present the entire match result _ArrayDisplay($aArray, "Result")

Please keep in mind that these code samples are automatically generated and are not guaranteed to work. If you find any syntax errors, feel free to submit a bug report. For a full regex reference for AutoIt, please visit: https://www.autoitscript.com/autoit3/docs/functions/StringRegExp.htm