tokenizers icon indicating copy to clipboard operation
tokenizers copied to clipboard

Regex Capture Group?

Open SamuelLarkin opened this issue 4 years ago • 3 comments

Hi, I'm trying to replace some regex, more specifically, adding space around a certain token.

normalizers.Replace(Regex(r"(AA+"), r" $1 "),

What is the syntax to do that.

SamuelLarkin avatar Dec 21 '21 16:12 SamuelLarkin

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Mar 06 '24 01:03 github-actions[bot]

Any information that could help me here?

SamuelLarkin avatar Mar 11 '24 21:03 SamuelLarkin

Hey! We don't support this, would you like to open a PR ? 🤗

ArthurZucker avatar Jun 11 '24 12:06 ArthurZucker

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Jul 18 '24 01:07 github-actions[bot]