Ticket #8121

正規表現全置換で無限ループ
Open Date: 2006-03-06 20:47 Last Update: 2006-05-24 19:27

Reporter:
Owner:
Type:
Status:
Closed
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
None

Details


マッチテキストが0文字になるようなパターンで
全置換すると無限ループになって固まってしまいます。
パターンによっては何も起きない場合もあります。
また、普通の置換でも意図した動作になりません。

検索パターン例:
^
.??
$

Ticket History (2/2 Histories)

2006-03-06 20:47 Updated by: exeal
  • Resolution Update from None to Accepted
2006-05-24 19:27 Updated by: exeal
  • Ticket Close date is changed to 2006-05-24 19:27
  • Resolution Update from Accepted to Fixed
  • Status Update from Open to Closed

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login