Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Regex for
January 23, 2009, 5:59 pm
rate this thread
Re: Regex for
It works for me, Perl 5.10.0, if you want to include the beginning
"option>" and the closing "</option" partial parts. But I don't think
that's exactly what you want. You might find this kind of regex more
The above won't handle nested tags. If you expect that what you're
matching will split across lines (as it probably will), include the 's'
$string =~ m|<option\b[^>]*>(.*?)</option>|si
And as always, there's more than one way to do it.
Re: Regex for
AFAICS there is no semantic difference. Some organisations (mostly the
national and international standardization organizations, like ANSI,
DIN, ÍNORM, ISO, but also some industry consortiums like IEEE, ECMA, ITU)
deem themselves to be important enough to call their specifications
"standards", and others are more modest (the W3C for example, only
So SGML is an "ISO standard", but XML is a "W3C recommendation".
Regex for standard and specification (was: Regex for )
I'm noway wrong, I've checked -- all of them XHTML, XML, SGML, and HTML
"papers" call itself "Specification". That can be a template issue
Anyway, that's what I have on hands. I've asked WordNet dictionary:
n 1: a basis for comparison; a reference point against which
other things can be evaluated; "they set the measure for
all subsequent work" [syn: , ,
n 1: a detailed description of design criteria for a piece of
work [syn: ]
After reading about these (there're some more, missing in copy-paste) my
sole understanding of difference is: "standard" is a "paper" that
pictures what status quo is, while "specification" is a "paper" about
subject missing in present. Me lacks historic vision of some issues
p.s. In misguided attempt to mess everything up again: criminal law is
a standard, while Ten Ammendments are spec.
Torvalds' goal for Linux is very simple: World Domination
Stallman's goal for GNU is even simpler: Freedom
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum