// File: /workspace/github_cpp_makefile_star2_O2/GAStudyGroup[P]GPX2/src/base/sources/ImportData.cpp
// Function: ImportData::regexManager(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void ImportData::regexManager(string input)
{
    //|[[:digit:]]+?=[\\.]?=[[:digit:]]+
    regex number("[[:digit:]]+");
    regex name("NAME(.*)");
    regex type("TYPE(.*)");
    regex comment("COMMENT(.*)");
    regex dimension("DIMENSION(.*)");
    regex edge_type("EDGE(.*)");
    regex node_comment("NODE(.*)");
    if (regex_match(input, name)) {
        flag = "name";
        //cout << "Nome\n";
    } else if (regex_match(input, type)) {
        flag = "type";
        //cout << "Tipo\n";
    } else if (regex_match(input, comment)) {
        flag = "comment";
    } else if (regex_match(input, dimension)) {
        flag = "dimension";
    } else if (regex_match(input, edge_type)) {
        flag = "edge_type";
    } else if (regex_match(input, node_comment)) {
        flag = "node_comment";
    } else if (regex_match(input, number) && flagaux == "wait for number") {
        flag = "number";
    }
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0xe0, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x1ae4b(%rip), %rsi     # 0x2784d
leaq 0xc0(%rsp), %rdi
pushq $0x10
popq %rbp
movl %ebp, %edx
callq 0xd918
leaq 0x1ae3f(%rip), %rsi     # 0x2785a
leaq 0xa0(%rsp), %rdi
movl %ebp, %edx
callq 0xd918
leaq 0x1ae32(%rip), %rsi     # 0x27863
leaq 0x80(%rsp), %rdi
pushq $0x10
popq %rdx
callq 0xd918
leaq 0x1ae24(%rip), %rsi     # 0x2786c
leaq 0x60(%rsp), %rdi
pushq $0x10
popq %rdx
callq 0xd918
leaq 0x1ae1c(%rip), %rsi     # 0x27878
leaq 0x40(%rsp), %rdi
pushq $0x10
popq %rdx
callq 0xd918
leaq 0x1ae16(%rip), %rsi     # 0x27886
leaq 0x20(%rsp), %rdi
pushq $0x10
popq %rdx
callq 0xd918
leaq 0x1ae0b(%rip), %rsi     # 0x2788f
movq %rsp, %rdi
pushq $0x10
popq %rdx
callq 0xd918
leaq 0xa0(%rsp), %rsi
movq %r14, %rdi
xorl %edx, %edx
callq 0xd97e
testb %al, %al
je 0xcab1
leaq 0x1adec(%rip), %rsi     # 0x27898
jmp 0xcb3c
leaq 0x80(%rsp), %rsi
movq %r14, %rdi
xorl %edx, %edx
callq 0xd97e
testb %al, %al
je 0xcad0
leaq 0x1adde(%rip), %rsi     # 0x278ac
jmp 0xcb3c
leaq 0x60(%rsp), %rsi
movq %r14, %rdi
xorl %edx, %edx
callq 0xd97e
testb %al, %al
je 0xcaec
leaq 0x1adcc(%rip), %rsi     # 0x278b6
jmp 0xcb3c
leaq 0x40(%rsp), %rsi
movq %r14, %rdi
xorl %edx, %edx
callq 0xd97e
testb %al, %al
je 0xcb08
leaq 0x1ad97(%rip), %rsi     # 0x2789d
jmp 0xcb3c
leaq 0x20(%rsp), %rsi
movq %r14, %rdi
xorl %edx, %edx
callq 0xd97e
testb %al, %al
je 0xcb24
leaq 0x1ad85(%rip), %rsi     # 0x278a7
jmp 0xcb3c
movq %rsp, %rsi
movq %r14, %rdi
xorl %edx, %edx
callq 0xd97e
testb %al, %al
je 0xcba4
leaq 0x1ad75(%rip), %rsi     # 0x278b1
addq $0xa0, %rbx
movq %rbx, %rdi
callq 0x56a0
movq %rsp, %rdi
callq 0xd9a2
leaq 0x20(%rsp), %rdi
callq 0xd9a2
leaq 0x40(%rsp), %rdi
callq 0xd9a2
leaq 0x60(%rsp), %rdi
callq 0xd9a2
leaq 0x80(%rsp), %rdi
callq 0xd9a2
leaq 0xa0(%rsp), %rdi
callq 0xd9a2
leaq 0xc0(%rsp), %rdi
callq 0xd9a2
addq $0xe0, %rsp
popq %rbx
popq %r14
popq %rbp
retq
leaq 0xc0(%rsp), %rsi
movq %r14, %rdi
xorl %edx, %edx
callq 0xd97e
testb %al, %al
je 0xcb4b
leaq 0xc0(%rbx), %rdi
leaq 0x1acf6(%rip), %rsi     # 0x278be
callq 0xd995
testb %al, %al
je 0xcb4b
leaq 0x1aceb(%rip), %rsi     # 0x278c7
jmp 0xcb3c
movq %rax, %rbx
jmp 0xcc0a
movq %rax, %rbx
jmp 0xcc14
movq %rax, %rbx
jmp 0xcc1e
movq %rax, %rbx
jmp 0xcc28
movq %rax, %rbx
jmp 0xcc35
movq %rax, %rbx
jmp 0xcc42
movq %rax, %rbx
movq %rsp, %rdi
callq 0xd9a2
leaq 0x20(%rsp), %rdi
callq 0xd9a2
leaq 0x40(%rsp), %rdi
callq 0xd9a2
leaq 0x60(%rsp), %rdi
callq 0xd9a2
leaq 0x80(%rsp), %rdi
callq 0xd9a2
leaq 0xa0(%rsp), %rdi
callq 0xd9a2
leaq 0xc0(%rsp), %rdi
callq 0xd9a2
movq %rbx, %rdi
callq 0x5610
nop