text = 'this is ; an example'
Language is R. I'd like to understand why:
grepl("\\<is\\>",text)
returns TRUE
while
grepl("\\<;\\>",text)
returns FALSE
Note that setting the perl argument to TRUE or FALSE doesn't make any difference. I know that grepl(";",text) works, my question is why doesn't it work anymore when we add word boundaries.