Siblings of #4108: leading \b before dash-flag alternation members in language rules

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

Maintainer thường phản hồi trong vòng 1 ngày

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

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
54/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
tooling

Hướng nghiên cứu

Read the listed language rule locations in agc_assembly.py, assembly.py, csharp.py, go.py, javascript.py, lua.py, ruby.py, swift.py, and dart.py, along with the related changes in PR #7862 and the completed Java, Kotlin, and Scala items. Check each candidate against its language’s intended matching behavior, then golden-check the changes per language. Done means the unintended word-boundary failures are fixed and the -DskipTests Dockerfile case is covered; the issue notes that some matches may be intentional.

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

Mô tả

core-engine scope:infra testing

Siblings of #4108 (PR #7862 fixed dockerfile.py). Class: a leading \b(?:...) before an alternation member starting with a non-word char (-Xmx, --flag) can never match after whitespace. Heuristic scan; each needs its own read, some may be intentional. Fix with (?<![\w-]), golden-check per language.

  • agc_assembly.py:245
  • assembly.py:383
  • csharp.py:600
  • go.py:550
  • java.py:556 (#7864)
  • javascript.py:378
  • kotlin.py:202 (#7864)
  • lua.py:289
  • ruby.py:308
  • scala.py:392 (#7864)
  • swift.py:475
  • dart.py:170, dart.py:386
  • dockerfile skipTests misses -DskipTests
Ngôn ngữ chính
Python
Star
57
Fork
11
Merge trung bình
1 giờ 42 phút
Pull request đã merge (30 ngày)
966

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 squid-protocol/gitgalaxy

Tất cả issue của squid-protocol/gitgalaxy

Issue tương tự

Thêm issue về Python

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.