|
|
|
|
|
|
|
|
|
|
Re: Count repeated characters in string [message #498487 is a reply to message #498279] |
Thu, 10 March 2011 02:52   |
Manoj.Gupta.91
Messages: 239 Registered: March 2008 Location: Delhi
|
Senior Member |
|
|
Hi,
@michel Cadot
I strongly agree with you that we should not do homework for others. We should give a hint or point him to right direction. The person must learn something.
As per my knowledge regular expressions are introduced in 10g. REGEXP_COUNT is introduced in 11g. Is my understanding correct?
I haven't worked on 11g. But I've used regular expressions on 10g little bit.
Can you point me to a knowledge base where I can find out the differences in 10g and 11g?
Thanks & Regards
Manoj
|
|
|
|
Re: Count repeated characters in string [message #498496 is a reply to message #498490] |
Thu, 10 March 2011 03:05   |
xpact83
Messages: 225 Registered: October 2008 Location: philippines
|
Senior Member |
|
|
@michel cadot
yes but they did not post an example. so it is a rule here that you can't give examples if it is already mentioned because once you did michel cadot will get your attention.
|
|
|
Re: Count repeated characters in string [message #498497 is a reply to message #498496] |
Thu, 10 March 2011 03:08   |
Roachcoach
Messages: 1576 Registered: May 2010 Location: UK
|
Senior Member |
|
|
My link had an example with,in I don't copy paste the because it encourages people to read about the functions - a typical example for a simple questions doesn't cover the full functionality of the more complex expressions.
Regexp can be a quagmire, which is why I pointed to the docs, you need to know what you're getting into
[Updated on: Thu, 10 March 2011 03:09] Report message to a moderator
|
|
|
Re: Count repeated characters in string [message #498504 is a reply to message #498497] |
Thu, 10 March 2011 03:17   |
xpact83
Messages: 225 Registered: October 2008 Location: philippines
|
Senior Member |
|
|
I posted an example based from the problem given. Tell me roachcoach what is wrong about that? is because you already posted regexp_count other users can't post an example of that based from the problem?
|
|
|
|
|
Re: Count repeated characters in string [message #498515 is a reply to message #498504] |
Thu, 10 March 2011 03:26  |
Roachcoach
Messages: 1576 Registered: May 2010 Location: UK
|
Senior Member |
|
|
xpact83 wrote on Thu, 10 March 2011 09:17I posted an example based from the problem given. Tell me roachcoach what is wrong about that? is because you already posted regexp_count other users can't post an example of that based from the problem?
I didn't say there was a problem with it, you said there wasn't an example and I just said that there was within the link I gave and went on to explain (briefly) why I didn't copy it across - because regexp carry non trivial understanding requirements and can easily give the 'wrong' answer if gotten even slightly off. Trouble being, little tests usually work 
Don't take things so personally!
|
|
|