Question: I'm using the [validity plugin](http://validity.thatscaptaintoyou.com/) to validate a form. It's working fine but is it possible to execute a callback function if the validity function succeeded like the following 

```
$("form").validity(function(){
    $("#place").require().range(3, 50);
    $("#location").require().greaterThan(4) 
}, function(){ /* Here to put the call back code */ });

```

because i want to to run some code if the form validation successes , Any idea would be appreciated

Answer: 
As already suggested, if you need a dynamic regular expression, you need to use `$0 ~ d1 " " d2` instead of `/d1 d2/`.
Which operating system? It's possible that when you run the command interactively *awk* points to a different *awk* implementation. If you're on *Solaris*, for example, try running your script with *nawk* (or *gawk*), instead of *awk*.