I seem to always have hard time understaing how this regular expression
works, especially how on earth do people bring it up as part of
computer programming language. Natural language processing seems not
enough to explain by the way. Why no eliminate it ? 11 2234
Asper Faner wrote:
I seem to always have hard time understaing how this regular expression
works, especially how on earth do people bring it up as part of
computer programming language. Natural language processing seems not
enough to explain by the way. Why no eliminate it ?
If you try to eliminate what you don't understand you won't learn
anything!
I suggest that you put the learning of regexps aside for a while and
come back to it 'later'.
Asper Faner wrote:
I seem to always have hard time understaing how this regular expression
works, especially how on earth do people bring it up as part of
computer programming language. Natural language processing seems not
enough to explain by the way. Why no eliminate it ?
I am sure you'll get an answer in one of zillion groups you posted this
stupid question to...
Regards,
Erwin
Asper Faner wrote:
I seem to always have hard time understaing how this regular expression
works, especially how on earth do people bring it up as part of
computer programming language. Natural language processing seems not
enough to explain by the way. Why no eliminate it ?
I.M.H.O. anyone that is not capable to grasp the concept of regular
expressions should not attempt to write computer programs at all! My
suggestion to you would be to find a job that involves working with your
hands...
Asper Faner wrote:
I seem to always have hard time understaing how this regular expression
works, especially how on earth do people bring it up as part of
computer programming language. Natural language processing seems not
enough to explain by the way. Why no eliminate it ?
It has very much to do with computer programming. There is program flow,
conditions, loops, variables.
Roman
Also regular expressions are (pretty much) universal accross a ton of
languages... even search engines now provide some support for regular
expressions... I know its a bit of a headache, but keep trying to learn it
mate. Once you have it wrapped you will never look back.
Adam - http://www.aejw.com/?page=contact
"Roman" <me**@dipmicro.comwrote in message
news:22*****************@read2.cgocable.net...
Asper Faner wrote:
>I seem to always have hard time understaing how this regular expression works, especially how on earth do people bring it up as part of computer programming language. Natural language processing seems not enough to explain by the way. Why no eliminate it ?
It has very much to do with computer programming. There is program flow,
conditions, loops, variables.
Roman
Reminder: anything crossposted across this many newsgroups, especially
asking an inherently bogus question, is probably just trolling.
If it's equally on topic everywhere, that means it's on topic nowhere.
--
() ASCII Ribbon Campaign | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry
Kleine Aap wrote:
Asper Faner wrote:
I seem to always have hard time understaing how this regular expression
works, especially how on earth do people bring it up as part of
computer programming language. Natural language processing seems not
enough to explain by the way. Why no eliminate it ?
I.M.H.O. anyone that is not capable to grasp the concept of regular
expressions should not attempt to write computer programs at all! My
suggestion to you would be to find a job that involves working with your
hands...
Your humble opinion doesn't get much ruder...
Perhaps you meant "anyone that is not capable to grasp the concept of
regular expressions after some experience with programming should not
attempt to write computer programs at all!" Then at least newbies would
have a leg to stand on.
Otherwise, you're practically cutting off all entrances into the world
of programming! The concept of regular expressions isn't exactly the
simplest one out there. Just because you understood it immediately
(which I'm guessing you did, considering your harsh response), doesn't
mean others find the concept that simple.
Dustan wrote:
Kleine Aap wrote:
>Asper Faner wrote:
>>I seem to always have hard time understaing how this regular expression works, especially how on earth do people bring it up as part of computer programming language. Natural language processing seems not enough to explain by the way. Why no eliminate it ?
I.M.H.O. anyone that is not capable to grasp the concept of regular expressions should not attempt to write computer programs at all! My suggestion to you would be to find a job that involves working with your hands...
Your humble opinion doesn't get much ruder...
Perhaps you meant "anyone that is not capable to grasp the concept of
regular expressions after some experience with programming should not
attempt to write computer programs at all!" Then at least newbies would
have a leg to stand on.
Otherwise, you're practically cutting off all entrances into the world
of programming! The concept of regular expressions isn't exactly the
simplest one out there. Just because you understood it immediately
(which I'm guessing you did, considering your harsh response), doesn't
mean others find the concept that simple.
I agree, and in addition:
(large) regular expressions are easy to write,
but can be almost impossible to read back !
I once had a program to generate and evaluate regular expressions,
but can't find it anymore :-(
If someone has links to regex generators/evaluators,
I'ld be much obliged.
cheers.
Stef Mientki
On Sun, 24 Dec 2006 16:36:31 +0100, Stef Mientki wrote:
Dustan wrote:
>Kleine Aap wrote:
>>Asper Faner wrote:
I seem to always have hard time understaing how this regular expression works, especially how on earth do people bring it up as part of computer programming language. Natural language processing seems not enough to explain by the way. Why no eliminate it ? I.M.H.O. anyone that is not capable to grasp the concept of regular expressions should not attempt to write computer programs at all! My suggestion to you would be to find a job that involves working with your hands...
Your humble opinion doesn't get much ruder...
Perhaps you meant "anyone that is not capable to grasp the concept of regular expressions after some experience with programming should not attempt to write computer programs at all!" Then at least newbies would have a leg to stand on.
Otherwise, you're practically cutting off all entrances into the world of programming! The concept of regular expressions isn't exactly the simplest one out there. Just because you understood it immediately (which I'm guessing you did, considering your harsh response), doesn't mean others find the concept that simple.
I agree, and in addition:
(large) regular expressions are easy to write,
but can be almost impossible to read back !
I once had a program to generate and evaluate regular expressions,
but can't find it anymore :-(
If someone has links to regex generators/evaluators,
I'ld be much obliged.
cheers.
Stef Mientki
A good tool to write, test and analyse regexes is the Regulator, available
here http://sourceforge.net/projects/regulator/
A good reference site is http://www.regular-expressions.info/, with
tutorials, examples and tools
--
Bits.Bytes http://bytes.thinkersroom.com
Rad [Visual C# MVP] wrote:
On Sun, 24 Dec 2006 16:36:31 +0100, Stef Mientki wrote:
Dustan wrote:
Kleine Aap wrote: Asper Faner wrote:
I seem to always have hard time understaing how this regular expression works, especially how on earth do people bring it up as part of computer programming language. Natural language processing seems not enough to explain by the way. Why no eliminate it ?
Hi folks, fairly new to the list(Python is my first programming
language, so I'm fairly new to the world of programming too)but this is
a question I've been wondering about since I started learning about the
re module. Are regular expressions what makes mark up languages
interpretable by webbrowsers? de**************@gmail.com wrote:
Rad [Visual C# MVP] wrote:
On Sun, 24 Dec 2006 16:36:31 +0100, Stef Mientki wrote:
Dustan wrote:
>Kleine Aap wrote:
>>Asper Faner wrote:
>>>
>>>I seem to always have hard time understaing how this regular expression
>>>works, especially how on earth do people bring it up as part of
>>>computer programming language. Natural language processing seems not
>>>enough to explain by the way. Why no eliminate it ?
Hi folks, fairly new to the list(Python is my first programming
language, so I'm fairly new to the world of programming too)but this is
a question I've been wondering about since I started learning about the
re module. Are regular expressions what makes mark up languages
interpretable by webbrowsers?
I don't actually know the answer, but my educated guess:
Regular expressions are just the simplest way to parse any text, but
there are other ways. Webbrowsers most likely depend on regular
expressions just because it's a relatively quick and easy way to
interpret the language. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Kenneth McDonald |
last post by:
I'm working on the 0.8 release of my 'rex' module, and would appreciate
feedback, suggestions, and criticism as I work towards finalizing the
API and feature sets. rex is a module intended to make...
|
by: Buddy |
last post by:
Can someone please show me how to create a regular expression to do the
following
My text is set to
MyColumn{1, 100} Test
I want a regular expression that sets the text to the following...
|
by: Neri |
last post by:
Some document processing program I write has to deal with documents
that have headers and footers that are unnecessary for the main
processing part. Therefore, I'm using a regular expression to go...
|
by: Dimitris Georgakopuolos |
last post by:
Hello,
I have a text file that I load up to a string. The text includes
certain expression like {firstName} or {userName} that I want to match
and then replace with a new expression. However,...
|
by: James D. Marshall |
last post by:
The issue at hand, I believe is my comprehension of using regular
expression, specially to assist in replacing the expression with other text.
using regular expression (\s*) my understanding is...
|
by: Billa |
last post by:
Hi,
I am replaceing a big string using different regular expressions (see
some example at the end of the message). The problem is whenever I
apply a "replace" it makes a new copy of string and I...
|
by: Pete Davis |
last post by:
I'm using regular expressions to extract some data and some links from some
web pages. I download the page and then I want to get a list of certain
links.
For building regular expressions, I use...
|
by: Mike |
last post by:
I have a regular expression (^(.+)(?=\s*).*\1 ) that results in
matches. I would like to get what the actual regular expression is.
In other words, when I apply ^(.+)(?=\s*).*\1 to " HEART...
|
by: Allan Ebdrup |
last post by:
I have a dynamic list of regular expressions, the expressions don't change
very often but they can change. And I have a single string that I want to
match the regular expressions against and find...
|
by: NvrBst |
last post by:
I want to use the .replace() method with the regular expression /^ %VAR
% =,($|&)/. The following DOESN'T replace the "^default.aspx=,($|&)"
regular expression with "":...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |