[Konversation-devel] [Bug 158910] New: Autoreplace doesn't handle multiple replacements in the same line properly

cdwinslow at gmail.com cdwinslow at gmail.com
Fri Mar 7 16:21:13 CET 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=158910         
           Summary: Autoreplace doesn't handle multiple replacements in the
                    same line properly
           Product: konversation
           Version: 1.0.1
          Platform: Fedora RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konversation-devel kde org
        ReportedBy: cdwinslow gmail com


Version:           1.0.1 (using KDE 3.5.9)
Installed from:    Fedora RPMs

If you have a line with multiple expressions that match an autoreplace rule using regular expressions and captures, then all the replacements use the same capture.

I experienced this using the wikipedia link rule that is included with konversation.

I typed: 
aaime: much better wikipedia article this way (compare [[Captain_Atom]] to [[dwinslow]])

and got:
 <captain_atom> aaime: much better wikipedia article this way (compare http://en.wikipedia.org/wiki/Special:Search?go=Go&search=Captain_Atom to http://en.wikipedia.org/wiki/Special:Search?go=Go&search=Captain_Atom)

but I expected: 
 <captain_atom> aaime: much better wikipedia article this way (compare http://en.wikipedia.org/wiki/Special:Search?go=Go&search=Captain_Atom to http://en.wikipedia.org/wiki/Special:Search?go=Go&search=dwinslow)


More information about the Konversation-devel mailing list