Replace syntax has misleading hover text

オープン
#32 コメント 6 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
36/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
desktop

調査の方向性

Start by reading the hover text for the Replace syntax and the code that handles replacement strings; the issue says captured groups use Python regex syntax such as \1. Check the README for the requested regex note as well. Done when the hover text describes the actual syntax and the README and application explain Python regex usage.

索引モデルが issue の本文から書いたものです。

説明

image

The hover text makes it look like you do %1, %2, etc to insert captured groups, but it's actually \1, \2, etc because it's using Python regex.

This had me really confused until I looked at the source code and realized why %1 was treated as a literal rather than inserting a captured group, and I believe it should be changed to reflect its actual usage.

If "enumerate" means anything other than "insert capture groups," I think there should be more information on what it does, and I think there should also be a note somewhere (in both the application and repo readme, preferably) that it uses Python regex so nobody else will get confused like I was.

主要言語
Python
スター
118
フォーク
22
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

linuxmint/bulky のほかの issue

linuxmint/bulky の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。