stringi icon indicating copy to clipboard operation
stringi copied to clipboard

Fast and portable character string processing in R (with the Unicode ICU)

Results 52 stringi issues
Sort by recently updated
recently updated
newest added

...because search functions are named like `*_coll()`.

`sep=""` by default `stri_dup("a", 3, sep=",")` should be equal to `a,a,a`

macOS-latest (release) yields: ``` ----- FAILED[data]: test-sprintf.R call| expect_identical(outer(f, x, stri_sprintf, na_string = "NA"), call| --> outer(f, x, sprintf)) diff| 4 string mismatches ----- FAILED[data]: test-sprintf.R call| expect_identical(stri_sprintf("%08s", "abc"), sprintf("%08s",...

``` invert_match {stringr} R Documentation Switch location of matches to location of non-matches. Description Invert a matrix of match locations to match the opposite of what was previously matched. Usage...

new feature

Add logical `backwards` parameter to split functions which will work when n_max != -1. If true then splitting is done from the end of a string. > stri_split_fixed("ala ma kota","...

question
low priority

Add `?simplify?` argument (`default=TRUE` for backward compatibility) to `stri_locate_first` and other `*_first` and `*_last` functions so that they generate the same kind of results as `*_all*`, i.e., lists.

stri_extract_all has simplify that calls stri_list2matrix, stri_sub_all can have it too

According to the [Unicode Technical Standard #35](http://www.unicode.org/reports/tr35/tr35-collation.html#Case_Parameters), when case Level is set to On and strength set to primary, ICU should ignore accents but take case into account. This is...

bug
ICU-related

1. Get the two-letter category name for each Unicode character category identifier 2. Allow for native, non-UTF-8 encodings

low priority