List Info

Thread: Searching & ignoring particular characters in a complex search




Searching & ignoring particular characters in a complex search
user name
2006-01-20 08:35:53
Thanks.  I'm trying ignore these characters:

all alpha-numeric characters and punctuation like - _ "
." ; : (

and I want to match perfectly (although case doesn't matter)
text
strings like these:

"names.nsf"

or

"people"

I know part of the problem is every single character I want
to match is
going to have to be ignored first, so that
"names2.nsf" or "people5"
would be ignored but if they're followed by
"names.nsf" or "people",
these would be matched.

Thanks again!

Jesse

Sergei Z wrote:
>>FunctionName("ignore this":"ignore
this";"ignore this";"match
>>this";"match this, too")
>>
>>
>
>to write a reasonable regex i need to know HOW u
differentiate between
>"ignore this"; AND "matchthis"; text
in the function parameters list.
>To me they look identical. What is it that determines
which one is to
>match and which one is to ignore? Is is a relative
position in the list
>? smth else?
>
>Pls explain

Searching & ignoring particular characters in a complex search
user name
2006-01-20 14:18:58
Hi Jesse,

do you really want to ignore characters or rather ignore
"tokens" (i.e.
words separated by punctuation)? What are the criteria when
you want to
stop "ignoring" and start matching? This is not
clear to me from what
you describe. Can you please give some samples what should
be matched
and what ignored?

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )