Piem validator programme
JavaScript (169)(140)(137)(135) (63)for 17 digits of pi

In my version Law's fine and Law ' s fine return both true.

Newest Version (63) by Ingo Bürk and hsl

f=s=&gt;!s.split(/\W+/).some((x,i)=&gt;x.length-(Math.PI*1e16+'')[i])


New Version (135) for 17 digits of pi (Thanks to Ingo Bürk):

f=(s)=&gt;{
s=s.split(/[!"#$%&amp;'()*+, \-.\/:;&lt;=&gt;?@[\\\]^_`{|}~]+/);
p=Math.PI*1e16+'';
    r=0;
    for(a=s.length;a--;)r+=s[a].length!=p[a];
    return !r
}


Old version (169) for 32 digits of pi:

f=(s)=&gt;{
s=s.split(/[!"#$%&amp;'()*+, \-.\/:;&lt;=&gt;?@[\\\]^_`{|}~]+/);
p="31415926535897932384626433832795".split('');
    r=1;
    for(a=s.length;a--;)if(s[a].length!=p[a]){r=0};
    return r;
}