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

Abierto
#7,863 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
54/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python
Área
tooling

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
Python
Estrellas
57
Forks
11
Merge medio
1 h 35 min
PR fusionados (30 d)
975

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de squid-protocol/gitgalaxy

Todos los issues de squid-protocol/gitgalaxy

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.