if (stri_install_check(silent=TRUE))
stri_extract_all('XaaaaX', regex=c('\\p{Ll}', '\\p{Ll}+', '\\p{Ll}{2,3}', '\\p{Ll}{2,3}?'))
if (stri_install_check(silent=TRUE))
stri_extract_all('Bartolini', coll='i')
if (stri_install_check(silent=TRUE))
stri_extract_all('stringi is so good!', charclass='\\p{Zs}') # all whitespaces
Run the code above in your browser using DataLab