#1
  1. kill 9, $$;
    Devshed Supreme Being (6500+ posts)

    Join Date
    Sep 2001
    Location
    Shanghai, An tSín
    Posts
    6,897
    Rep Power
    3887

    Suggestions for "Newbie Thread"


    Hi all and welcome to the brand spanking new Regular Expressions forum, of which I am apparently a moderator.

    As with other forums, it'll be useful to have an "Information for new users: read this first" thread. I'd be interested in suggestions for common sense things this should include.

    As discussed in the thread where the vote on opening this forum was taken, not all regexp engines are the same, so obviously users should clearly state which programming language's version of regexp they're trying to use.

    Then there's the usual things about descriptive titles, not using "doesn't work" etc.

    Anything else?
  2. #2
  3. Permanently Banned
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jun 2006
    Location
    In a whale
    Posts
    4,147
    Rep Power
    0
    Hm, steps to posting in a regex forum might include: 1) Googling for a method in the language you are using (because regex is slower than built in functions on a language); 2) Googling for the regex; 3) Posting here with an actual question that isn't "o hai guyzz muh regex dun work. why dun itz workin?"
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2008
    Location
    The deepest, darkest recesses of programming hell
    Posts
    175
    Rep Power
    46
    A couple of resources explaining the various special characters and overall syntax of regular expressions would help I had a good reference page tabulating some of the special characters at one point, but the site went down...

    Actually, something as simple as a table of regex symbols and descriptions, it may be worth listing in a post here for one-click clarity
  6. #4
  7. garish grotesque gargoyle
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Mar 2006
    Location
    gracing gargantuan gothic gateways
    Posts
    1,337
    Rep Power
    1037
    a list of references by language is always a handy starter, so I ripped some links from the bottom of the wikipedia regex page:

    Perl RegEx
    Java RegEx
    Javascript RegEx
    VBScript RegEx

    might be a quick one to build on -- HTH

    Comments on this post

    • giftiger_wunsch agrees : Some useful links there.

    "Human history becomes more and more a race between education and catastrophe." (H.G. Wells)
    "Giving me a new idea is like handing a cretin a loaded gun, but I do thank you anyhow, bang, bang." (Philip K. D!ck)
  8. #5
  9. Sarcky
    Devshed Supreme Being (6500+ posts)

    Join Date
    Oct 2006
    Location
    Pennsylvania, USA
    Posts
    10,908
    Rep Power
    6351
    It would be nice if they would actually TRY first, instead of posting "hey guys I'm looking for a regular expression to validate all numbers with a dash in the middle plzkthx."

    I do like the idea of having a regexp forum, since technically they're a completely different language. In the PHP forum, sometimes it's hard to convince people that they're using 3 languages (PHP, RegExp, SQL) instead of just 1. Maybe this will help our "look, there's a whole forum for it!" argument. Though that means us PHP goons will be dumping people on this forum.

    ishnid, can you ask some of the other mods to put a sticky at the top of other relevant forums directing regexp questions over here? It will probably give this forum a little more traffic. I only discovered it was here because I accidentally clicked ryon's username and saw he had posted.

    -Dan
    HEY! YOU! Read the New User Guide and Forum Rules

    "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin

    "The greatest tragedy of this changing society is that people who never knew what it was like before will simply assume that this is the way things are supposed to be." -2600 Magazine, Fall 2002

    Think we're being rude? Maybe you asked a bad question or you're a Help Vampire. Trying to argue intelligently? Please read this.

IMN logo majestic logo threadwatch logo seochat tools logo