School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 300,495 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,853 people online right now. Registration is fast and FREE... Join Now!




Regular Expressions

 

Regular Expressions, A possibility....

Winstinology

28 Jan, 2009 - 02:01 AM
Post #1

I'm pretty good with a laser mouse..
Group Icon

Joined: 8 May, 2008
Posts: 957



Thanked: 6 times
Dream Kudos: 125
My Contributions
I notice that there are tutorials in PHP explaining what they are, and how to use them. But have you ever thought of maybe having a snippet section or something, fully devoted to regular expressions? I know it's not a programming language per-say, but I do think that it is a relative, and very useful tool. I don't know.. Maybe not. This may have already come up in the past, but I didn't come up with anything with my searches. What do you think? smile.gif

User is offlineProfile CardPM
+Quote Post


girasquid

RE: Regular Expressions

28 Jan, 2009 - 09:01 AM
Post #2

Barbarbar
Group Icon

Joined: 3 Oct, 2006
Posts: 1,628



Thanked: 53 times
Dream Kudos: 825
My Contributions
The problem is, regular expressions tend to vary slightly from language-to-language - what might work in PHP may not work in C#, for example.

You can get away with some of the more basic expressions, but not all expressions work in all languages.
User is offlineProfile CardPM
+Quote Post

Winstinology

RE: Regular Expressions

29 Jan, 2009 - 01:57 PM
Post #3

I'm pretty good with a laser mouse..
Group Icon

Joined: 8 May, 2008
Posts: 957



Thanked: 6 times
Dream Kudos: 125
My Contributions
I know that, you just need to be careful and know which expressions to use for which language.
User is offlineProfile CardPM
+Quote Post

Moonbat

RE: Regular Expressions

29 Jan, 2009 - 07:12 PM
Post #4

D.I.C Regular
Group Icon

Joined: 30 Jun, 2008
Posts: 423



Thanked: 24 times
Dream Kudos: 600
My Contributions
A regex section would be nice. We could just instruct people who submit snippets to put the language name in the title of their snippet. It saves the hassle of looking for a snippet that matches the language you are using.
User is offlineProfile CardPM
+Quote Post

Winstinology

RE: Regular Expressions

30 Jan, 2009 - 04:53 PM
Post #5

I'm pretty good with a laser mouse..
Group Icon

Joined: 8 May, 2008
Posts: 957



Thanked: 6 times
Dream Kudos: 125
My Contributions
Exactly! smile.gif
User is offlineProfile CardPM
+Quote Post

pr4y

RE: Regular Expressions

30 Jan, 2009 - 05:06 PM
Post #6

Location: 127.0.0.1
Group Icon

Joined: 19 Sep, 2008
Posts: 615



Thanked: 29 times
Dream Kudos: 175
My Contributions
This is a cool idea. Especially because I've been programming for 8 years and still to this day can't figure out how to create a regular expression on my own. Unless it is a very basic expression, 99% of the time I just copy it from somewhere on the web and edit it to my needs.
User is offlineProfile CardPM
+Quote Post

Winstinology

RE: Regular Expressions

2 Feb, 2009 - 10:36 AM
Post #7

I'm pretty good with a laser mouse..
Group Icon

Joined: 8 May, 2008
Posts: 957



Thanked: 6 times
Dream Kudos: 125
My Contributions
Wurd!
User is offlineProfile CardPM
+Quote Post

Moonbat

RE: Regular Expressions

2 Feb, 2009 - 06:48 PM
Post #8

D.I.C Regular
Group Icon

Joined: 30 Jun, 2008
Posts: 423



Thanked: 24 times
Dream Kudos: 600
My Contributions
QUOTE(Winstinology @ 2 Feb, 2009 - 10:36 AM) *

Wurd!

Your translation result is: BUMP!

But seriously, I like this idea. Don't let it get lost in the sea of Feedback requests.
User is offlineProfile CardPM
+Quote Post

skyhawk133

RE: Regular Expressions

2 Feb, 2009 - 06:58 PM
Post #9

Head DIC Head
Group Icon

Joined: 17 Mar, 2001
Posts: 16,844



Thanked: 152 times
Dream Kudos: 1650
Expert In: Web Development

My Contributions
I think we can make this happen. smile.gif

I'll try to get it added tonight/tomorrow.
User is offlineProfile CardPM
+Quote Post

Winstinology

RE: Regular Expressions

3 Feb, 2009 - 02:59 PM
Post #10

I'm pretty good with a laser mouse..
Group Icon

Joined: 8 May, 2008
Posts: 957



Thanked: 6 times
Dream Kudos: 125
My Contributions
Seriously! Dude, that's rad! Thanks a bunch Chris!!
User is offlineProfile CardPM
+Quote Post

Winstinology

RE: Regular Expressions

13 Feb, 2009 - 03:04 PM
Post #11

I'm pretty good with a laser mouse..
Group Icon

Joined: 8 May, 2008
Posts: 957



Thanked: 6 times
Dream Kudos: 125
My Contributions
Hogwash! Lies Chris, Lies and false hopes. sad.gif

lol
User is offlineProfile CardPM
+Quote Post

Winstinology

RE: Regular Expressions

31 Mar, 2009 - 11:28 AM
Post #12

I'm pretty good with a laser mouse..
Group Icon

Joined: 8 May, 2008
Posts: 957



Thanked: 6 times
Dream Kudos: 125
My Contributions
Been two months.. Still waiting Chris..! smile.gif
User is offlineProfile CardPM
+Quote Post

AdamSpeight2008

RE: Regular Expressions

31 Mar, 2009 - 11:57 AM
Post #13

The Bandido Coder
Group Icon

Joined: 29 May, 2008
Posts: 2,686



Thanked: 155 times
Dream Kudos: 3925
Expert In: vb.net, LINQ

My Contributions
Instead of waiting, why don't you start writing one? Chris has set up a facility (Look In Forums) where you store in-progress tutorials.
If I start on for VB.Net, you can start one for another language.

Simples

This post has been edited by AdamSpeight2008: 31 Mar, 2009 - 11:58 AM
User is offlineProfile CardPM
+Quote Post

Winstinology

RE: Regular Expressions

31 Mar, 2009 - 12:32 PM
Post #14

I'm pretty good with a laser mouse..
Group Icon

Joined: 8 May, 2008
Posts: 957



Thanked: 6 times
Dream Kudos: 125
My Contributions
Ah.. Did not know that!

Thanks Adam! smile.gif
User is offlineProfile CardPM
+Quote Post

skyhawk133

RE: Regular Expressions

1 Apr, 2009 - 02:22 PM
Post #15

Head DIC Head
Group Icon

Joined: 17 Mar, 2001
Posts: 16,844



Thanked: 152 times
Dream Kudos: 1650
Expert In: Web Development

My Contributions
Adding "Regular Expressions" section to snippets now.
User is offlineProfile CardPM
+Quote Post

skyhawk133

RE: Regular Expressions

1 Apr, 2009 - 03:11 PM
Post #16

Head DIC Head
Group Icon

Joined: 17 Mar, 2001
Posts: 16,844



Thanked: 152 times
Dream Kudos: 1650
Expert In: Web Development

My Contributions
Added. Submit away smile.gif
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/8/09 04:50AM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month