TWiki
>
CF Web
>
CscfSpecific
>
LisaNovember2004
>
LisaNov2004TutorialW3
(2005-06-04,
MikePatterson
)
(raw view)
E
dit
A
ttach
I didn't take very many notes at this session, as the tutorial notes are fairly straightforward. I will give page numbers that refer to the notes, and these notes likely won't make much sense without them. 8 - cursor = | 18 - note, two states before it hits the start of the string. 26 - difference between Perl and POSIX - with Perl one can be flexible by changing order in the regex. 34, 35 - possible use of non-greedy matching. 39 - no, it's not more efficient to "just" reverse both the string and the regex (class question). Boyer-Moore search. 43 - DFA. Are there engines that choose NFA vs DFA based on the regex? Yes - GNU regex does this. 49 - n(?!\s) succeeds at the end of the string. n(?=\s) does not. So they're not just reverses of each other. 56 - NB parenthesis numbering, it's a bit tricky here. 65 - with a fence, you can go in, then leave, but never go back in again. (Think of it as a museum admission, he says.) 66 - is it faster to lowercase first? "It depends," he says. Depends on the string, and depends on the full regex. -- Main.MikePatterson - 04 Jun 2005
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
WYSIWYG
|
M
ore topic actions
Topic revision: r1 - 2005-06-04
-
MikePatterson
CF
Information in this area is meant for use by CSCF staff and is not official documentation, but anybody who is interested is welcome to use it if they find it useful.
CF Web
CF Web Home
Changes
Index
Search
Administration
Communication
Email
Hardware
HelpDeskGuide
Infrastructure
InternalProjects
Linux
MachineNotes
Macintosh
Management
Networking
Printing
Research
Security
Software
Solaris
StaffStuff
TaskGroups
TermGoals
Teaching
UserSupport
Vendors
Windows
XHier
Other Webs
CSEveryBody
Main
Sandbox
TWiki
UW
My links
People
CERAS
WatForm
Tetherless lab
Ubuntu Main.HowTo
eDocs
RGG NE notes
RGG
CS infrastructure
Grad images
Edit
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback