Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

I suck at regular expressions

Đang mở
#215 45 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
25/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
tooling

Hướng nghiên cứu

No repository file, test, or entry point is identified. Start by reviewing the issue and its discussion for the intended implementation context, then verify matching and replacement behavior against both example strings; done means the requested URL substring can be identified and replaced reliably.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

I'm like an NBA player who for some reason can't shoot foul shots. Only with me it's regular expressions. I used to do them all the time. Now I'm no good at it for some reason. Please help. Thanks.

I want to find a url like this in a string:

https://t.co/B8vzgwK5iX

An example of its usage:

How to Wash Fruits and Vegetables. https://t.co/ROcD5Tsz4f #giftlink

In other words the substring will always begin with https://t.co/, will be followed by a string of uppercase and lowercase alpha and numeric characters, followed by the end of the string or a whitespace character.

I need to be able to get the actual url and be able to easily replace it with another string.

Thanks! 😄

Ngôn ngữ chính
HTML
Star
134
Fork
10
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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của scripting/Scripting-News

Tất cả issue của scripting/Scripting-News

Issue tương tự

Thêm issue về DevTools

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.