Match Unicode characters to Unicode character ranges.
u_char_match(x, table, nomatch = NA_integer_)
x %uin% table
an R object which can be coerced to a u_char
vector of Unicode characters via as.u_char
.
an R object coercible to a u_char_range
vector of Unicode character range via as.u_char_range
.
the value to be returned (after coercion to integer) in the case when no match is found.
u_char_match
returns a vector of the positions of the (first)
matches of the Unicode characters given by x
(after coercion
via as.u_char
) to the Unicode character ranges given by
table
(after coercion via as.u_char_range
).
%uin%
returns a logical vector indicating if there was a
match or not.