Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Regular expressions Replace and Replace/Find

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
java
領域
desktop

調査の方向性

The report identifies regular-expression Replace and Replace/Find in the Eclipse UI, but names no source files or tests. Start by locating the find-and-replace implementation and existing regex tests, then reproduce the supplied CRLF case using ,.*\r and \r. Done means both replace operations replace the match as expected; verify with focused tests.

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

説明

Description
Neither Replace no Replace/Find works for regular expressions. Find still works.

To Reproduce
Just try to Find and then replace some text using regular expression
The important detail is that reqexp shall match the part of line from somewhere in the middle til the end and refer \r as end of line.
For example file containing three lines (last line is empty) and it is CRLF end of line style:
abc, def
ghi, jkl

Use regexp ,.*\r for find and \r for replace.
Yes, using \r seems incorrect, but it is still valid.

Expected behavior
Text is expected to be replaced when regular expression is used

Version Information:
Windows 11
Eclipse IDE for C/C++ Developers (includes Incubating components)
Version: 2026-06 (4.40.0)
Build id: 20260604-0653

Link to original issue
Eclipse CDT issue #1494

主要言語
Java
スター
124
フォーク
269
平均マージ
1日 19時間
マージ済み PR(30日)
60

環境構築

はじめの一歩

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

eclipse-platform/eclipse.platform.ui のほかの issue

eclipse-platform/eclipse.platform.ui の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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