Would you learn a language without regex support?

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply

Would you learn a language without regex support?

Yes
7
44%
No
9
56%
 
Total votes: 16

User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Would you learn a language without regex support?

Post by Luke »

I am working in a scripting language called mivascript. It is unbelievably ugly and horrible. I don't even know how it got to the point it's at. Anyway, it doesn't have regex support at all. I don't understand how the script even caught on without regex support. That just doesn't seem right. Would you learn a language if you knew up front there was and never will be regex support?
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

If you have to waste resource string manipulating things with functions that were not meant for that purpose, then you are not in the right environment. In my opinion.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Is the language extensible? If you could write a library/extension for it pretty easily then you'd be able to tie it in with PCRE pretty easily :)
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

Actually, i don't know that many languages where regular expressions are part of the language itself... So, which languages do you use?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Same here. Even in C/C++ you have to download libraries for it.
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

Post by anjanesh »

Strange that you're asking this question. I got a friend whos working for a company which services clients in Java apps alone and no one there seems to be into RegExp. They dont seem to need it all because they have all the API to extract what ever that need to. They're not into web-development but client-server apps (I think desktop based only).

I find that only ppl in web-development seem to require RegExp.
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Post by Jenk »

There's a reason it's called PCRE.. Perl Compatible Regular Expression. I.e. nothing but Perl supports it natively :P even in PHP it is an optional extension.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Java has regex built-in too.
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

Afaik it's not really in the language itself.. It's in a standard api (java.util.regex)..
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

JavaScript, I think, has native support for regexps. At the very least, they have a custom syntax for it.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Ambush Commander wrote:JavaScript, I think, has native support for regexps. At the very least, they have a custom syntax for it.
Languages with RegExp as a language feature (i.e. custom syntax) that I'm aware of.

Perl
JavaScript
Ruby
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

timvw wrote:Afaik it's not really in the language itself.. It's in a standard api (java.util.regex)..
Except for the part that it's in String, which is apart of the language. ;)
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

Well, in earlier versions there was no such support ;)

(But since it seems to be there from 1.4, which was released in 2002, i would say that i'm talking about ancient history ;))
Post Reply