There is Pattern class Java and also same like function in C++
http://leepoint.net/notes-java/data/strings/40regular_expressions/26pattern-matcher.html

On Sat, Sep 3, 2011 at 2:41 PM, Dheeraj Sharma
<[email protected]>wrote:

> for '?' u just increment ur pointer(which is returned  by previous one.) by
> 1..
>
>
> On Sun, Sep 4, 2011 at 12:09 AM, Dheeraj Sharma <
> [email protected]> wrote:
>
>> for * it can be like.. for example we have any string say *ab*c*de*
>> it is composed of three strings ..that has to be searched.in that sequece
>> in only..which means..first ab would appear..then c ..then de..
>>
>> first search for pattern "ab" in string..using pattern matching function..
>> then search for c  in the remaining string(which can be found..using the
>> pointer returned by first)
>> then search for de in the remaining string(which can be found..using the
>> pointer returned by second)
>> the string  b/w first and last pointer would be the result..
>> Correct me if am wrong..
>>
>>
>> On Sat, Sep 3, 2011 at 12:10 PM, Abhishek Yadav <
>> [email protected]> wrote:
>>
>>> Implement a function that receive a string S and a pattern containing
>>> wild characters ( * and ? only) in string P. Function return true if S
>>> matches the pattern P.
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Algorithm Geeks" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected].
>>> For more options, visit this group at
>>> http://groups.google.com/group/algogeeks?hl=en.
>>>
>>>
>>
>>
>> --
>> *Dheeraj Sharma*
>> Comp Engg.
>> NIT Kurukshetra
>> +91 8950264227
>>
>>
>
>
> --
> *Dheeraj Sharma*
> Comp Engg.
> NIT Kurukshetra
> +91 8950264227
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>



-- 

**Please do not print this e-mail until urgent requirement. Go Green!!
Save Papers <=> Save Trees
*BharatKumar Bagana*
**http://www.google.com/profiles/bagana.bharatkumar<http://www.google.com/profiles/bagana.bharatkumar>
*
Mobile +91 8056127652*
<[email protected]>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to