enhanced regular expression handler

This commit is contained in:
2010-05-10 07:44:39 +00:00
parent b2e41d43f2
commit b0a03e0b4d
37 changed files with 495 additions and 423 deletions

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.11 from Makefile.am.
# Makefile.in generated by automake 1.11.1 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,

View File

@ -1,5 +1,5 @@
/*
* $Id: rex.h 312 2009-12-10 13:03:54Z hyunghwan.chung $
* $Id: rex.h 326 2010-05-09 13:44:39Z hyunghwan.chung $
*
Copyright 2006-2009 Chung, Hyung-Hwan.
This file is part of QSE.
@ -59,10 +59,9 @@
* NOP -@ CHAR(b) -@ CHAR(c) -@ GROUPEND
*
* ab|cd
* +--@ CHAR(a) --@ CHAR(b) --+
* | <= u.b.left |
* START --@ NOP --@ BRANCH --+ +--@ END
* | <= u.b.right |
* START --@ NOP --@ BRANCH --+--@ CHAR(a) --@ CHAR(b) --+--@ END
* | |
* | <= u.b.alter |
* +--@ CHAR(c) --@ CHAR(d) --+
* @endcode
*
@ -145,19 +144,20 @@ struct qse_rex_node_t
struct
{
qse_rex_node_t* left;
qse_rex_node_t* right;
qse_rex_node_t* alter;
} b;
struct
{
qse_rex_node_t* head;
qse_rex_node_t* end;
int pseudo;
} g;
struct
{
qse_rex_node_t* group;
int pseudo;
} ge;
} u;