After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 740284 - Scanner does not replace strings with parentheses
Scanner does not replace strings with parentheses
Status: RESOLVED DUPLICATE of bug 736610
Product: easytag
Classification: Other
Component: general
2.2.x
Other FreeBSD
: Normal normal
: 2.2
Assigned To: EasyTAG maintainer(s)
EasyTAG maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2014-11-17 18:59 UTC by AB
Modified: 2014-11-18 08:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description AB 2014-11-17 18:59:01 UTC
in 2.2.7:

When I try to change "(something)" into "something" it does nothing
Comment 1 AB 2014-11-17 19:00:01 UTC
It actually does replace but keeps the parens.
Comment 2 AB 2014-11-17 19:11:03 UTC
It is not possible to replace "something (else)" because it will try to match "something else"
Comment 3 David King 2014-11-18 08:43:48 UTC
There is no such version at 2.2.7. Anyway, the find and replace feature uses GRegex, which in turn uses Perl-compatible regular expressions, so it is necessary to escape the parentheses, for example:

\(something\)

This is a bit awkward for simple strings, but very powerful for more complex matches.

*** This bug has been marked as a duplicate of bug 736610 ***