Archived Comments (locked)
|
|
The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008) |
|
|
Great script, finally I get to see whats actually in my tabs with a just a glance. |
|
|
You could concatenate the first part of the regex, then d, and then the last part of the regex and use that new variable in your replacements. |
|
|
Thanks for the feedback Dan. I'm trying to fit regexp into headshrink, but I'm having problems getting regexp understanding that it is the variable d, not the character d im trying to replace in a string. BTW: headshrink is updated to also parse sites which starts with something other than www. For example orkutbar.mozdev.org. |
|
|
Great idea! As for your lowercase problem: if you remove the toLowerCase and then do all of your replacements via regular expressions, it should work.. so foo = bar.replace(x, y) becomes:
|
|
|
Anybody who can help me with the expresion, so I don't have to lovercase the title is more than welcome to poste. Any other comments is of course welcome! |