<script type="text/javascript"> var str="Jestem bardzo, bardzo zadowolony. Mo?na powiedzie?, ?e jestem równie? uszcz??liwiony i uspokojony."; patt1=new RegExp( "\bi\b", "g"); //<--- (to find the single word: "i") document.write(str.match(patt1)); </script>
var pattern = ...
I find myself needing:
var self = this;
I've read in Stoyan Stefanov book about single var pattern. Also it's good by JSLint. But I've noticed in my code that I maybe overload this pattern. It occurs that whole my ...