Match Unicode characters to Unicode character ranges.
匹配Unicode字符的Unicode字符范围。
用法----------Usage----------
u_char_match(x, table, nomatch = NA_integer_)
x %uin% table
参数----------Arguments----------
参数:x
an R object which can be coerced to a u_char vector of Unicode characters via as.u_char.
R对象可以强制通过u_char到as.u_char向量的Unicode字符。
参数:table
an R object coercible to a u_char_range vector of Unicode character range via as.u_char_range.
的R对象转换成一个u_char_range向量的Unicode字符范围内通过as.u_char_range。
参数:nomatch
the value to be returned (after coercion to integer) in the case when no match is found.
被返回的值(后转化成整数)在没有找到匹配的情况下。
Details
详细信息----------Details----------
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).
u_char_match返回一个向量的位置x(后强制通过as.u_char)与Unicode字符的Unicode字符(第一次)比赛范围由table (通过as.u_char_range)胁迫后。
%uin% returns a logical vector indicating if there was a match or not.
%uin%返回一个逻辑向量表示,如果有一个匹配或不。