Re: komentari za dz
evo sta kaze linux kad mu kazes:
man 7 regex
[uzeo sam samo relevantne delove teksta]
`^' matching the null string at the beginning of a line
An atom followed by `*' matches a sequence of 0 or more matches of the atom
A bracket expression is a list of characters enclosed in `[]'. It normally matches any single character from the list (but see below). If the list begins with `^', it matches any single character (but see below) not from the rest of the list. If two characters in the list are separated by `-', this is shorthand for the full range of characters between those two (inclusive) in the collating sequence, e.g. `[0-9]' in ASCII matches any decimal digit. It is illegal(!) for two ranges to share an endpoint, e.g. `a-c-e'. Ranges are very collating-sequence-dependent, and portable programs should avoid relying on them.
Pa ti sklopi odgovor.
P0Z!
On Thu, 24 Nov 2005 01:16:23 +0100, Sasa <gavra20@tesla.rcub.bg.ac.yu> wrote:
--
## Marko Stankovic ## Registered Linux User #361318 [counter.li.org]
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
Defenestration n. (formal or joc.):
The act of removing Windows from your computer in disgust, usually followed
by the installation of Linux or some other Unix-like operating system.
man 7 regex
[uzeo sam samo relevantne delove teksta]
`^' matching the null string at the beginning of a line
An atom followed by `*' matches a sequence of 0 or more matches of the atom
A bracket expression is a list of characters enclosed in `[]'. It normally matches any single character from the list (but see below). If the list begins with `^', it matches any single character (but see below) not from the rest of the list. If two characters in the list are separated by `-', this is shorthand for the full range of characters between those two (inclusive) in the collating sequence, e.g. `[0-9]' in ASCII matches any decimal digit. It is illegal(!) for two ranges to share an endpoint, e.g. `a-c-e'. Ranges are very collating-sequence-dependent, and portable programs should avoid relying on them.
Pa ti sklopi odgovor.
P0Z!
On Thu, 24 Nov 2005 01:16:23 +0100, Sasa <gavra20@tesla.rcub.bg.ac.yu> wrote:
Ja sam pregledajuci JFlex primere naleteo na nesto slicno:
"/*" [^*] ~"*/"
U cemu se razlikuje od ovog dole?
Cemu sluzi ovo [^*] ?
Hvala!
--
## Marko Stankovic ## Registered Linux User #361318 [counter.li.org]
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
Defenestration n. (formal or joc.):
The act of removing Windows from your computer in disgust, usually followed
by the installation of Linux or some other Unix-like operating system.
- Follow-Ups:
- Ugnjezdeni komentari -pitanje za asistenta
- From: Goran Rakocevic <goxy_83@yahoo.com>
- Ugnjezdeni komentari -pitanje za asistenta
- References:
- komentari za dz
- From: "Ana Peric" <pana@ptt.yu>
- Re: komentari za dz
- From: "Sasa" <gavra20@tesla.rcub.bg.ac.yu>
- komentari za dz
Previous by date: Re: komentari za dz
Next by date: Re: Uputstvo
Previous by thread: Re: komentari za dz Next by thread: Ugnjezdeni komentari -pitanje za asistenta
Previous by thread: Re: komentari za dz Next by thread: Ugnjezdeni komentari -pitanje za asistenta