Reuse `Replacement` in `Regex.replace`
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 30/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- api
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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?
- Ngôn ngữ chính
- PureScript
- Star
- 57
- Fork
- 76
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của purescript/purescript-strings
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
purescript/purescript-strings#176 · 6 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
purescript/purescript-strings#171 · 3 bình luận · 1 reaction ·
-
Add takeEnd & dropEnd Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
purescript/purescript-strings#170 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
purescript/purescript-strings#169 · 7 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 38/100
purescript/purescript-strings#167 · 4 bình luận ·
Tất cả issue của purescript/purescript-strings
Issue tương tự
-
bug priority:normal ready-for-dev
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
OpenHands/extensions#626 · 1 bình luận ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
avniproject/avni-client#2135 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
use-agent-os/agent-os#3276 ·