Skip to content

Bug in rm_repeated_characters() / ex_repeated_characters() #35

@sanjmeh

Description

@sanjmeh
library(qdapRegex)

"hha that was a good joke peep and pepper and pepe" |> rm_repeated_characters()
# "that was a good joke peep and pepper and"

"ahh that was a good joke peep and pepper and pepe"  |>  rm_repeated_characters()
#  "ahh that was a good joke peep and pepper and"

Note hha is removed while ahh is not removed. Is this by design or a bug? There is nothing in the documentation that says only starting characters will be checked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions