| 28 | call if OK is false. */ |
| 29 | |
| 30 | SKIPCHARS_INLINE char * |
| 31 | skip_str_matching (char const *str, bool (*predicate) (mcel_t), bool ok) |
| 32 | { |
| 33 | char const *s = str; |
| 34 | for (mcel_t g; *s && predicate (g = mcel_scanz (s)) == ok; |
| 35 | s += g.len) |
| 36 | continue; |
| 37 | return (char *) s; |
| 38 | } |
| 39 | |
| 40 | /* Return the address just past the leading sequence of possibly |
| 41 | multi-byte characters or encoding errors G in BUF (which ends at LIM) |
no outgoing calls
no test coverage detected