2 comments
Comment actions Permalink

Jon Steelman wrote:

Evgueny Vigdorchik wrote:

>> "Tim Haley" <ymaraner@yahoo.com> wrote in message
>> news:c7ftou$80o$1@is.intellij.net...
>>
>>> I keep making the same mistake.
>>>
>>> It would be nice if the syntax was clearly identified somewhere; like
>>> in a
>>> tooltip, or at least in the help documentation.
>>
>>
>> The syntax is precisely java.util.regex. So it is documented in
>> corresponding java docs.


True, but the help documentation doesn't actually indicate whether
regular expressions also apply to the replacement string (it does). The
current help says:
If selected, allows you to use perl5-like regular expressions.
But I think the help should instead add some text at the end to say:
If selected, allows you to use perl5-like regular expressions in both
the Text to find and the Replace with text.

Jon

Well, it's definitely Java regex syntax, not Perl, so it looks like a
bug in documentation. Could you submit an SCR?

0
Comment actions Permalink

Rob Harwood wrote:
>> True, but the help documentation doesn't actually indicate whether
>> regular expressions also apply to the replacement string (it does).
>> The current help says:
>> If selected, allows you to use perl5-like regular expressions.
>> But I think the help should instead add some text at the end to say:
>> If selected, allows you to use perl5-like regular expressions in
>> both the Text to find and the Replace with text.
>>
>> Jon


Well, it's definitely Java regex syntax, not Perl, so it looks like a
bug in documentation. Could you submit an SCR?


Done: http://www.intellij.net/tracker/idea/viewSCR?publicId=32520

Jon

0

Please sign in to leave a comment.