2702 |
|
|
2703 |
/* Transit state from s, then return new state and update the pointer of the |
/* Transit state from s, then return new state and update the pointer of the |
2704 |
buffer. This function is for some operator which can match with a multi- |
buffer. This function is for some operator which can match with a multi- |
2705 |
byte character or a collating element(which may be multi characters). */ |
byte character or a collating element (which may be multi characters). */ |
2706 |
static int |
static int |
2707 |
transit_state (struct dfa *d, int s, unsigned char const **pp) |
transit_state (struct dfa *d, int s, unsigned char const **pp) |
2708 |
{ |
{ |
2786 |
return s1; |
return s1; |
2787 |
} |
} |
2788 |
|
|
2789 |
#endif |
#endif /* MBS_SUPPORT */ |
2790 |
|
|
2791 |
/* Search through a buffer looking for a match to the given struct dfa. |
/* Search through a buffer looking for a match to the given struct dfa. |
2792 |
Find the first occurrence of a string matching the regexp in the buffer, |
Find the first occurrence of a string matching the regexp in the buffer, |