thanks for the comments + help.
i think i got it working, although it's not pretty:
##
import os
import re
theRegEx = '.*abs:.*\.*.'
p = re.compile(theRegEx, re.IGNORECASE)
fileToSearch = 'compreg.dat'
print "File to perform search-and-replace on: " + fileToSea
Am Tue, 12 Jul 2005 01:11:44 -0700 schrieb [EMAIL PROTECTED]:
> Hi Pythonistas,
>
> Here's my problem: I'm using a version of MOOX Firefox
> (http://moox.ws/tech/mozilla/) that's been modified to run completely
> from a USB Stick. It works fine, except when I install or uninstall an
> extension,
<[EMAIL PROTECTED]> wrote:
[snipped]
> For example, after installing a new extension, I change in compreg.dat
>
> lines such as:
>
> abs:J:\Firefox\Firefox_Data\Profiles\default.uyw\extensions\{0538E3E3-7E9B-4d49-8831-A227C80A7AD3}\components\nsForecastfox.js,18590
> abs:J:\Firefox\Firefo
Hi Pythonistas,
Here's my problem: I'm using a version of MOOX Firefox
(http://moox.ws/tech/mozilla/) that's been modified to run completely
from a USB Stick. It works fine, except when I install or uninstall an
extension, in which case I then have to physically edit the compreg.dat
file in my pro