OR (“Finish the expression” in https://librarycarpentry.org/lc-data-intro/02-match-extract-strings/index.html)

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

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

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
58/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
markdown
Lĩnh vực
documentation

Hướng nghiên cứu

Read the “Finish the expression” exercise at https://librarycarpentry.org/lc-data-intro/02-match-extract-strings/index.html and find where its two accepted answers are presented. Change the uppercase “OR” to lowercase “or, alternatively” so learners do not mistake it for part of the regular expression; done when the answer clearly distinguishes the alternatives.

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

Mô tả

In exercise “Finish the expression” in https://librarycarpentry.org/lc-data-intro/02-match-extract-strings/index.html
the answer according to the lesson is:

[\w.-]+.[\w]{2,3} OR [\w.-]+.[\w]

The OR here is meant to indicate that there are two possible answers.
One of the participants in our workshop read this as a part of the regular expression. This mistake is very easy to make, as this lesson is also about regular expressions!

I suggest rewriting OR as 'or, alternatively' in lowercase.

Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
36
Fork
84
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

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 LibraryCarpentry/lc-data-intro

Tất cả issue của LibraryCarpentry/lc-data-intro

Issue tương tự

Thêm issue về Documentation

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.