• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

SCJP Regex Query

 
Ranch Hand
Posts: 603
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 9707
43
Android Google Web Toolkit Hibernate IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 603
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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....
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 603
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author
Posts: 9050
21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 603
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ok guys, i will ensure to copy and paste the source of the question.
Sorry Once again...

reply
    Bookmark Topic Watch Topic
  • New Topic