If you want to do regex dynamically in JavaScript, you have to use the RegExp object I believe your code would look like this (haven't tested, not sure, but right general idea): for (i = 0; I Tag); var regex = new RegExp(ctag, "i") if (tagsToSearchi. Match(regex)) { matches. Push(tagsToSearchi); } }.
If you want to do regex dynamically in JavaScript, you have to use the RegExp object. I believe your code would look like this (haven't tested, not sure, but right general idea): for (i = 0; I Trim(currentTag. Tag); var regex = new RegExp(ctag, "i") if (tagsToSearchi.
Match(regex)) { matches. Push(tagsToSearchi); } }.
Instead of "/" + ctag + "/i" Use new RegExp(ctag, "i").
You could also continue to use indexOf, just change your === 0 to >= 0: for (i = 0; I = 0) { matches. Push(tagsToSearchi); } } But then again, I may be wrong.
The current implementation of Remy Sharp's jQuery tag suggestion plugin only checks for matches at the beginning of a tag. For example, typing "Photoshop" will not return a tag named "Adobe Photoshop". By default, the search is case-sensitive.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.