Reuse `Replacement` in `Regex.replace`
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 30/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Ambito
- api
Direzione di ricerca
Start by inspecting the Regex.replace API and the existing Replacement type mentioned in the issue. Determine whether replacing the String argument is appropriate and how the breaking change or deprecated alternative should be handled; done requires a decided API path and corresponding implementation and compatibility tests.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Right now the signature of replace on regex is:
foreign import replace :: Regex -> String -> String -> String
and I argue it should be
foreign import replace :: Regex -> Replacement -> String -> String
Of course this would be breaking so potentially there should be an alternative under a different name and the old one could be made deprecated.
What do you think?
- Lingua principale
- PureScript
- Stelle
- 57
- Fork
- 76
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di purescript/purescript-strings
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
purescript/purescript-strings#176 · 6 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
purescript/purescript-strings#171 · 3 commenti · 1 reazione ·
-
Add takeEnd & dropEnd Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
purescript/purescript-strings#170 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
purescript/purescript-strings#169 · 7 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 38/100
purescript/purescript-strings#167 · 4 commenti ·
Tutte le issue di purescript/purescript-strings
Issue simili
-
Area: Excel support
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
orbeon/orbeon-forms#7893 ·
-
essnmx good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
yeti-platform/yeti#1380 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
modelcontextprotocol/python-sdk#3566 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
griptape-ai/griptape#2353 ·