Back to index

glibc  2.9
bug-regex23.c File Reference
#include <locale.h>
#include <regex.h>
#include <string.h>

Go to the source code of this file.


int main (void)

Function Documentation

int main ( void  )

Definition at line 26 of file bug-regex23.c.

  regex_t r;

  memset (&r, 0, sizeof (r));
  setlocale (LC_ALL, "de_DE.UTF-8");
  regcomp (&r, "[-a-z_0-9.]+@[-a-z_0-9.]+", REG_EXTENDED | REG_ICASE);
  regexec (&r, "\xe7\xb7\x95\xe7\x97", 0, NULL, 0);
  return 0;

Here is the call graph for this function: