Question:
why is regular expression considered a programming language?
2009-05-24 22:11:37 UTC
"Regular expressions are essentially a highly specialised programming language embedded in Python" - how is Regular Expression considered a programming language when all we do is find a pattern with it..
Five answers:
Natalie Nose
2009-05-24 23:41:08 UTC
A programming language is a means of expressing sets of operations that are to be executed by a machine.



A Regular Expression is a means of expressing how to match (or identify) strings.



How to Match (or identify) strings is a set of operations that are to be executed by a machine.



Therefore, the set of regular expressions is considered a programming language.
vhinz
2009-05-24 22:39:20 UTC
Regular expressions are used to find certain patterns in a string. Its not a programming language but a PART of a programming language..
haven
2016-11-10 06:25:50 UTC
The question is what's your street map in terms of profession. you would be too youthful to respond to that yet i'm able to describe some thoughts: a million. information superhighway developer - somebody who's starting to be cool information superhighway apps and cellular information superhighway apps. Does a good form of UI and different UX stuff. learn HTML5, CSS and Javascript. 2. Backend developer - create information superhighway centers which serve a lot of queries in a 2d and execute complicated good judgment (gadget getting to grasp, information retrieval, etc'). learn C and then C++ or/and JAVA. Java is extra valuable because of the fact that is slightly less demanding and that i think of (uncertain) has extra requirement contained accessible. 3. Embedded developer - write code that runs on customer electronics and different units like Networking kit or maybe your cellular telephone (its OS, no longer apps). learn using Linux, BASH and C. there are various different thoughts... on account which you're sixteen i might advise initiate with information superhighway coming up because of the fact that is a lot extra exciting :-) (i'm the 2d type...)
Blackcompe
2009-05-24 22:20:27 UTC
Its not a programming language; You can't use it to build programs.



"Regular expressions are a way to describe a set of strings based on common characteristics shared by each string in the set. They can be used to search, edit, or manipulate text and data. " ~ http://java.sun.com/docs/books/tutorial/essential/regex/intro.html
Travis
2009-05-24 22:23:21 UTC
Because regular expressions fit the definition of a programming language.



First poster is wrong and doesn't know what a programming language actually is.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...