home news blogs forums events research newsletter whitepapers careers


UBM Network Computing
TechWeb
Visit our SOA/Web Services Immersion Center

IMMERSE YOURSELF:

SOA

  |

Data Center

  |

802.11n

  |

Data Privacy

  |
APO  |

Virtualization

  |

NAC

  |

Security

  |

Network Mgmt

  |

Enterprise Apps

  |

Storage & Servers




Explosion in a Punctuation Factory: Figures

Figure 1. Workspace does not match the left-hand side:
bob@here [left arrow]the workspace
[up arrow]
nothing matches
[down arrow]
Rleft.side new.stuff this is a comment 

Figure 2. How ``x'' and ``y'' become ``a''.

x [left arrow]the workspace
[up arrow]
exact match, so: TRUE
[down arrow]
Rx y [left arrow] first rule rewritten
y [left arrow] workspace to be this
[up arrow]
exact match, so TRUE
[down arrow]
Ry z [left arrow] second rule

Figure 3. How ``x'' and ``y'' become ``a'', another view:

x becomes [right arrow] y becomes [right arrow] z becomes [right arrow] a
y becomes [right arrow] z becomes [right arrow] a
z becomes [right arrow] a

Figure 4. An operator in the left-hand side.

R$+ $@match
[up arrow] [up arrow]
lhs rhs

Figure 5. Tokenizing an address with user and host portions:

gw@wash.dc.gov
[down arrow]
tokenized into
[down arrow]
"gw" "@" "wash" "." "dc" "." "gov" [left arrow]in the workspace

Figure 6. A good versus a bad address:

gw@wash.dc.gov [left arrow] $+ matches
@wash.dc.gov [left arrow] $+ also matches an incomplete address

Figure 7. How $+@$+ matches the workspace:

workspace pattern
"gw" "$+" [left arrow] match one or more
"@" "@" [left arrow] exact match
"wash" "$+" [left arrow] matches one
"." [down arrow] or more
"dc"
"."
"gov"

Figure 8. Why $+@$+ doesn't match @wash.dc.gov:

workspace pattern
"@" "$+" [left arrow] match one
"wash" [down arrow] or more
"."
"dc"
"."
"gov"
"@" [left arrow] match exactly (fails!)
"$+"

Figure 9. The flow of an address through the rules:

user@host.domain does not match the rule:
[down arrow]
R@ $@one
[down arrow]
so try the next rule:
[down arrow]
R@$+ $@two
[down arrow]
which doesn't match so try the next rule, which does:
[down arrow]
R$+@$+ $@three
Print This Page


e-mail Send as e-mail





Ready to take that job and shove it?

Function:

Keyword(s):

State:
SPONSOR
RECENT JOB POSTINGS
CAREER NEWS
Go beyond Google and get vertical. These specialized search sites will help you find the business information you need -- fast.

Ari Balogh was named to the post of chief technology officer as the companys for a "realignment" of employees.










InformationWeek U.S. IT Salary Survey 2008
Salaries for business technology professionals are falling. Here's what you need to know in order to make good hiring decisions and personal career choices. Purchase Today: $299
 
ROLLING RIGHT ALONG
Follow key Network Computing Reviews from conception to completion. This Week: Holistic APM.



Network Computing Reports Emerging Enterprise Podcast Series: Secrets to Success








TechSearch


Microsite of the Week


Powerful Information at Your Fingertips



App Infrastructure   |   Messaging & Collaboration   |   Network & Systems Mgmt   |   Network Infrastructure   |   Security  |   Storage & Servers   |   Wireless   |   Enterprise Apps
About Us  |  Contact Us  |  Site Map  |  Media Kit  |   Briefing Centers
Other Techweb Sites:   InformationWeek Reports  |  Intelligent Enterprise  |  Light Reading  |  InformationWeek
Techweb  |  Dark Reading  |  Network Computing Germany  |   Byte & Switch  |  bMighty  |  Small Biz Resource  |  InformationWeek Analytics
Copyright © 2008  United Business Media LLC  |  Privacy Statement  |  Terms of Service  |  Your California Privacy Rights