Ver código fonte

use new regex_search()

master
anon 9 meses atrás
pai
commit
ebc97b1fce
1 arquivos alterados com 2 adições e 1 exclusões
  1. +2
    -1
      source/hl.h

+ 2
- 1
source/hl.h Ver arquivo

@@ -177,7 +177,8 @@ int token_fits(const token_t * const token,
return true;
}

return regex_match(pattern, to, string_offset, match_offset);
//return regex_match(pattern, to, string_offset, match_offset);
return regex_search(NULL, pattern + string_offset);
}

void render_string(const char * const string,


Carregando…
Cancelar
Salvar