BurntSushi/rust-pcre2

using regex to split and replace text in a string

Open

#26 geöffnet am 22. Nov. 2022

Auf GitHub ansehen
 (7 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C (40 Forks)github user discovery
enhancementhelp wanted

Repository-Metriken

Stars
 (63 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

https://github.com/BurntSushi/rust-pcre2/blob/2f87eb93e5b688a23e02354af116176e13c85d38/src/bytes.rs#L400 how can this regex be used to split / replace text in a string? i tried using the split function but is erroring with the message "required for Regex to implement Pattern<'_>". Not sure if I am misunderstanding how to use the regex to split strings or if this is a bug?

Contributor Guide