diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-07-19 19:40:43 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-07-19 19:40:43 -0700 |
| commit | 711fe47a7f651f38e090c9a20ecef11feba6f705 (patch) | |
| tree | 98a3283e7c630919a08f8bd95326ceeb1a93da9e /utf8.h | |
| parent | 62e7d654bd70db89cb38e5d9efeb9a9b0e9cf202 (diff) | |
Overhaul of word boundaries/edges. Now they use \b, which is implemented
in C, and the C code understands UTF8 id chars.
Diffstat (limited to 'utf8.h')
| -rw-r--r-- | utf8.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -12,6 +12,10 @@ __attribute__((nonnull, pure)) const char *next_char(file_t *f, const char *str); __attribute__((nonnull, pure)) const char *prev_char(file_t *f, const char *str); +__attribute__((nonnull, pure)) +bool isidstart(file_t *f, const char *str); +__attribute__((nonnull, pure)) +bool isidcontinue(file_t *f, const char *str); #endif // vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1 |
