Language
C++
Compiler
gcc 10.1.0
Options
Warnings
Boost 1.73.0
C++2a(GNU)
no pedantic
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/gcc-10.1.0/include -std=gnu++2a
regex: '(?!nt)\s*lanman' is not match, string: 'PC NETWORK PROGRAM 1.0' , m: ''
regex: '(?!nt)\s*lanman' is not match, string: 'NT LM 0.12' , m: ''
regex: '(?!nt)\s*lanman' is match, string: 'NT LANMAN' , m: ' LANMAN'
regex: '(?!nt)\s*lanman' is match, string: 'LANMAN' , m: 'LANMAN'
regex: '(?!nt)\s*lanman' is not match, string: 'LM' , m: ''
regex: '(?!nt)\s*lanman' is match, string: 'DOS LANMAN' , m: ' LANMAN'
regex: '(?!nt)\s*lm' is not match, string: 'PC NETWORK PROGRAM 1.0' , m: ''
regex: '(?!nt)\s*lm' is match, string: 'NT LM 0.12' , m: ' LM'
regex: '(?!nt)\s*lm' is not match, string: 'NT LANMAN' , m: ''
regex: '(?!nt)\s*lm' is not match, string: 'LANMAN' , m: ''
regex: '(?!nt)\s*lm' is match, string: 'LM' , m: 'LM'
regex: '(?!nt)\s*lm' is not match, string: 'DOS LANMAN' , m: ''
regex: '[^Nn][^Tt]\s*LANMAN' is not match, string: 'PC NETWORK PROGRAM 1.0' , m: ''
regex: '[^Nn][^Tt]\s*LANMAN' is not match, string: 'NT LM 0.12' , m: ''
regex: '[^Nn][^Tt]\s*LANMAN' is match, string: 'NT LANMAN' , m: 'T LANMAN'
regex: '[^Nn][^Tt]\s*LANMAN' is not match, string: 'LANMAN' , m: ''
regex: '[^Nn][^Tt]\s*LANMAN' is not match, string: 'LM' , m: ''
regex: '[^Nn][^Tt]\s*LANMAN' is match, string: 'DOS LANMAN' , m: 'OS LANMAN'
Exit Code:
0