Tema: Re: JavaScript klaida ?
Autorius: trigras
Data: 2011-12-19 09:42:58
Mon, 19 Dec 2011 08:34:38 +0200, -=Valdas=- <valdonas@super.lt> rašė:

> Na niekaip nesuprantu kodel suranda:
>
> <script>
> a="2011112";
> t=a.search("2011.12");
> alert(t);
> </script>
>
> gal kas turit minciu ?
>
>

The dot matches a single character, without caring what that character is.  
The only exception are newline characters.