[haiku] Re: Sniff Rules?

  • From: Pete Goodeve <pete.goodeve@xxxxxxxxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Sat, 2 Mar 2013 18:59:34 -0800

On Sat, Mar 02, 2013 at 06:02:25PM -0800, Pete Goodeve wrote:
> > 
> > 0.25 [0:100]("<CsoundSynthesizer")
> > 
> Still no go... (:-()
> 
> 
> Here's the test file I just made up to try.  Ran "Force Identify" on
> it, but it still was just 'text'.
> 
> <CsoundSynthesizer>
> 
> <CsScore>
> </CsScore>
> 
> </CsoundSynthesizer>
> 

Hah!  Made it work.  The one thing I hadn't tried...!

I changed that initial value to "0.50" (as I see in some other rules)
and suddenly it's detecting the type!

So can somebody explain exactly what the number signifies...?

Thanks.

        -- Pete --

Other related posts: