Thread: regular expression

  1. #1
    Registered User
    Join Date
    Aug 2007
    Posts
    5

    regular expression

    Hi i have a set of hexa numbers to put in regular expression. Can someone experts write me the function for it. Its a school project and im due. thank you.

    example:
    0f00300280
    0f00200000
    0c00000280
    0c0000d000


    into

    0((f00(3|2)00(28|00)0)|(c0000(028|d00)0))

    for any situations

    thanks

  2. #2
    Fear the Reaper...
    Join Date
    Aug 2005
    Location
    Toronto, Ontario, Canada
    Posts
    625
    Someone hasn't read the forum guidelines.

    Here's some help :
    http://cboard.cprogramming.com/annou...t.php?f=4&a=39
    Teacher: "You connect with Internet Explorer, but what is your browser? You know, Yahoo, Webcrawler...?" It's great to see the educational system moving in the right direction

  3. #3
    Registered User
    Join Date
    Aug 2007
    Posts
    5

    regular expression

    sorry abt it...im a nwbie...i cant get the logic...at least explain the logic...
    Last edited by jackel7777; 08-14-2007 at 01:35 PM.

  4. #4
    Registered User
    Join Date
    Jul 2006
    Posts
    162
    http://linuxgazette.net/issue27/mueller.html

    You're in a problem solving profession, practice or switch some other major. Just being honest with ya. If the only way for you to succeed is by the fear of failure, we'll provide it willingly, we've all had to learn it (actually I -wanted- to... heh)

    Sorry, homework exists for your mind, not to cheat yourself. enjoy learning, hope you get your homework done next time!


    (damn that's actually a cool site, never found that one before on google...)
    Last edited by simpleid; 08-14-2007 at 02:17 PM.

  5. #5
    Registered User
    Join Date
    Aug 2007
    Posts
    5
    solved!!!!!!!!!!!!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM
  2. recursion error
    By cchallenged in forum C Programming
    Replies: 2
    Last Post: 12-18-2006, 09:15 AM
  3. Regular Expression
    By tintifaxe in forum C++ Programming
    Replies: 3
    Last Post: 06-14-2006, 07:16 AM
  4. Please Help - Problem with Compilers
    By toonlover in forum C++ Programming
    Replies: 5
    Last Post: 07-23-2005, 10:03 AM
  5. Regular Expression Troubles
    By Unregistered in forum C++ Programming
    Replies: 2
    Last Post: 04-11-2002, 04:21 PM