# Subject: textpow 0.9.1 Released

**URL:** <https://www.ruby-forum.com/t/subject-textpow-0-9-1-released/106817>\
**Category:** Ruby\
**Created:** [June 14, 2007, 11:31am UTC](https://www.ruby-forum.com/t/subject-textpow-0-9-1-released/106817 "2007-06-14T11:31:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dizan\_V](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/eada6e/32.png) [@Dizan\_V](https://www.ruby-forum.com/u/Dizan_V)\
**Post date:** [June 14, 2007, 11:31am UTC](https://www.ruby-forum.com/t/subject-textpow-0-9-1-released/106817/1 "2007-06-14T11:31:58Z")

</div>

textpow version 0.9.1 has been released!

- [http://textpow.rubyforge.org](http://textpow.rubyforge.org)

A library for parsing TextMate[[http://macromates.com/](http://macromates.com/)] bundles.

Changes:

## 0.9.1 / 2007-06-14

- FIX: Score manager now handles multiple subtractions in scope  
definitions.

- [http://textpow.rubyforge.org](http://textpow.rubyforge.org)

---

<div class="post-metadata">

**Author:** ![Dizan\_V](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/eada6e/32.png) [@Dizan\_V](https://www.ruby-forum.com/u/Dizan_V)\
**Post date:** [June 14, 2007, 11:45am UTC](https://www.ruby-forum.com/t/subject-textpow-0-9-1-released/106817/2 "2007-06-14T11:45:16Z")

</div>

Dizan V. wrote:

> textpow version 0.9.1 has been released!
> 
> - [http://textpow.rubyforge.org](http://textpow.rubyforge.org)
> 
> A library for parsing TextMate[[http://macromates.com/](http://macromates.com/)] bundles.
> 
> Changes:
> 
> ## 0.9.1 / 2007-06-14
> 
> - FIX: Score manager now handles multiple subtractions in scope  
> definitions.
> 
> - [http://textpow.rubyforge.org](http://textpow.rubyforge.org)

Hmmmm, can you explain how multiple subtractions in scopes work?

I assume you’re talking about something like:  
source.ruby - string - text.html.basic

Two questions:  
(1) have you seen this come up in practice, and where?  
(2) How are you interpreting this? As  
source.ruby - (string - text.html.basic)  
or  
(source.ruby - string) - text.html.basic  
or as something else entirely?

best  
Dan

---

<div class="post-metadata">

**Author:** ![Dizan\_V](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/eada6e/32.png) [@Dizan\_V](https://www.ruby-forum.com/u/Dizan_V)\
**Post date:** [June 17, 2007, 10:30am UTC](https://www.ruby-forum.com/t/subject-textpow-0-9-1-released/106817/3 "2007-06-17T10:30:52Z")

</div>

Dizan V. wrote:

> Well, I’ve found them while debugging the Brilliance themes in  
> ultraviolet, they include many uses of this.

Yes, I see them now. OK thanks for the tip.

> To be more precise: if any individual scope which is preceded by a  
> minus sign matches, then the score for the whole expression is zero  
> regardless of the non-minus matches.

Seems reasonable.

many thanks,  
Dan

---

<div class="post-metadata">

**Author:** ![Dizan\_V](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/eada6e/32.png) [@Dizan\_V](https://www.ruby-forum.com/u/Dizan_V)\
**Post date:** [June 16, 2007, 7:35pm UTC](https://www.ruby-forum.com/t/subject-textpow-0-9-1-released/106817/4 "2007-06-16T19:35:15Z")

</div>

> Two questions:  
> (1) have you seen this come up in practice, and where?

Well, I’ve found them while debugging the Brilliance themes in  
ultraviolet, they include many uses of this.

> (2) How are you interpreting this? As  
> source.ruby - (string - text.html.basic)  
> or  
> (source.ruby - string) - text.html.basic  
> or as something else entirely?

As

(source.ruby - string) - text.html.basic

To be more precise: if any individual scope which is preceded by a  
minus sign matches, then the score for the whole expression is zero  
regardless of the non-minus matches.

Cheers,

Dizan
