• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SCJP Regex Query

 
Deepak Lal
Ranch Hand
Posts: 561
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I had posted the query on SCJP RegEx,can anyone expain me the reason for deleting that TOPIC



--
Deepak Lal
 
Ankit Garg
Sheriff
Posts: 9519
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cheerup Deepad

Well as far as I remember, someone posted an illegal link on it... Am I right??? It might have been deleted because of that...

it was like this

\\b\\d\\b and a string like 1,1,2,3,5,8,13... right???
 
Deepak Lal
Ranch Hand
Posts: 561
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ankit and Moderator of the forum,,,
This forum is for discussion of Java,why do you allow other people to post non-sense links on the topic.....



MY TOPIC IS DELETED>>>GOD PLEASE HELP ME....
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15216
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I deleted it because you did not tell us where you copied it from. When you were asked to quote your sources, you said:
Hey guys,
I copied it from a site...i don't know the url of the same now...

I'll be happy to restore the topic if you tell us exactly where you copied it from.
 
Graeme Jenkinson
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ankit Garg:
Cheerup Deepad

Well as far as I remember, someone posted an illegal link on it... Am I right??? It might have been deleted because of that...

it was like this

\\b\\d\\b and a string like 1,1,2,3,5,8,13... right???


That's basically how I remember it (although I think it would have been \\d+). The numbers are/were a Fiboncci sequence with . or , delimiting characters. The regular expression matches each one or more digit sequence (\d+) starting at and ending at a word boundary (\b). As was pointed out in the original thread a introductory Regular Expression tutorial is needed rather than Java specific knowledge.

thanks,

Graeme
 
Deepak Lal
Ranch Hand
Posts: 561
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok Young,
i will include the url of the source from next time onwards...can you please restore the topic for now atleast....

I will ensure that i will copy the url.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15216
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, but quoting your sources is required. I will not restore the topic unless you tell us where you copied it from.
 
Bert Bates
author
Sheriff
Posts: 8898
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Deepak,

We have good reasons for asking for the source of mock questions:

1 - It acknowledges the effort made by the author to create the question in the first place
2 - It ensures that valid, legal mock questions are being discussed

We're not just annoying you, we apply the same rules for everyone.

Thanks,

Bert
 
Deepak Lal
Ranch Hand
Posts: 561
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok guys, i will ensure to copy and paste the source of the question.
Sorry Once again...

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic