1. Trang chủ
  2. » Công Nghệ Thông Tin

Professional Information Technology-Programming Book part 121 pdf

5 221 0
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề Sams Teach Yourself Regular Expressions in 10 Minutes
Tác giả Ben Forta
Trường học Sams Publishing
Chuyên ngành Information Technology
Thể loại book
Năm xuất bản 2004
Thành phố Indianapolis
Định dạng
Số trang 5
Dung lượng 33,49 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Rather, they require that you write regular expression code or use an application with regular expression support built in.. And so, to assist readers in their quest for regular expressi

Trang 1

Regular expressions are not an application—you can't just click an icon and use them Rather, they require that you write regular expression code or use an

application with regular expression support built in

And so, to assist readers in their quest for regular expression mastery, a simple Web-based application has been created that can be used to test and experiment with regular expressions using a Web browser

The application itself is a single page, containing a self-posting HTML form and all regular expression processing As such, it can be used as is; just drop the file on your computer and you'll be good to go Multiple versions of the application are available, including versions for Microsoft ASP and ASP.NET and Macromedia ColdFusion (both of which will require access to the appropriate server software) and a client-only JavaScript version

Tip

Using multiple versions is a good way to test pattern compatibility

Note

The intent is to provide additional versions for other platforms as

needed or requested To obtain a copy, or to see the available

versions, visit the URL referenced at the end of this appendix

Performing Find Operations

The application supports both find and replace operations To perform a find

search, follow these steps:

1 Load the application page in your browser

2 Check the Find option button

3 Enter the regular expression into the top field

4 Check the Case Sensitive check box, if needed

5 Type (or paste) the text to search for into the large text box

6 Click the Match Now button

Results will be displayed in a tabular form below the form

Trang 2

Performing Replace Operations

Replace operations require that two patterns be specified To perform a replace operation, follow these steps:

1 Load the application page in your browser

2 Check the Replace option button

3 Enter the search regular expression into the top field

4 Enter the replace regular expression into the second field

5 Check the Case Sensitive check box, if needed

6 Type (or paste) the text to search for into the large text box

7 Click the Match Now button

The modified string (with replacements made) will be displayed below the form

Obtaining a Copy of the Application

To obtain a copy of the application, visit the book's Web page at

http://www.forta.com/books/0672325667/

Page contents include the following:

 Download any of the available versions

 Test expressions using online versions of the applications

 Find links to other regular expression resources

 An errata (if one should be needed)

 And if you'd like to contribute a ported version of the application, you'll find contact information there, too

Enjoy!

The OpenBSD 4.0 Crash Course

By Jem Matzan

Publisher: O'Reilly Pub Date: January 01, 2007 ISBN-10: 0-596-51015-2 ISBN-13: 978-0-596-51015-2 Pages: 64

Trang 3

Table of Contents

OpenBSD is a Unix-like computer operating system that is widely regarded for its excellent documentation and its fanatical focus on security "The OpenBSD Crash Course" Short Cut will help you get an x86 or AMD64/EM64T server, desktop, or network appliance up and running quickly with OpenBSD You'll learn how to install or upgrade OpenBSD on x86 and AMD64 machines, how to configure it for server or workstation use, and how to properly maintain it until the next release

The OpenBSD 4.0 Crash Course

By Jem Matzan

Publisher: O'Reilly Pub Date: January 01, 2007 ISBN-10: 0-596-51015-2 ISBN-13:

978-0-596-51015-2 Pages: 64

Table of Contents

Section 2.1 What Is OpenBSD?

Section 2.2 What Is OpenBSD Good For?

Section 2.3 Supported Architectures and Hardware

Section 3.1 Installation Methods

Section 3.2 Booting from the Installation Disc

Section 3.3 Installation Walkthrough

Section 4.1 Upgrading the Base System and Package Sets

Section 4.2 Post-Installation Upgrading

Section 5.1 First Boot in OpenBSD 4.0

Trang 4

Section 5.2 Creating User Accounts

Section 5.3 A Quick Introduction to the vi Editor

Section 5.4 Customizing the Terminal

Section 5.5 CD/DVD Mounting Made Easy

Section 5.6 Installing the Ports Tree and the Base System Source Code

Section 5.7 Using the OpenBSD Package Tools

Section 5.8 Custom Kernel Configurations

Section 5.9 Enabling Binary Compatibility with Other OSes

Section 5.10 Shutting Down and Restarting the Computer

Section 6.1 Configuring X.org

Section 6.2 Installing a Desktop Environment or Window Manager

Section 6.3 Starting X.org

Section 6.4 Finding and Installing Desktop-Oriented Programs

Section 6.5 Font Configuration

Section 7.1 The inetd Internet Super-Server

Section 7.2 Apache

Section 7.3 Databases

Section 7.4 Mail Transfer Agents

Section 7.5 Mail Delivery Agents

Section 7.6 OpenLDAP

Section 7.7 NFS

Section 7.8 NIS

Section 7.9 BIND

Section 7.10 CARP

Section 7.11 Basic Packet Filter Setup

Section 7.12 Enabling and Configuring OpenNTPD

Section 8.1 Java

Section 8.2 PHP

Section 8.3 Perl

Section 8.4 Ruby

Section 8.5 Python

Section 9.1 The Cron Daemon

Section 9.2 Insecurity Reports

Section 9.3 Syslog

Section 10.1 Staying Up-to-Date with Ports and Packages

Trang 5

Section 10.2 Switching to the OpenBSD 4.0-STABLE Branch

Section 10.3 Switching to OpenBSD-CURRENT

Section 11.1 Commercial Support for OpenBSD

Section 11.2 Further Reading

Copyright

Copyright © 2007, O'Reilly Media, Inc All rights reserved

Chapter 1 Learn OpenBSD Quickly

OpenBSD has some of the industry's finest integrated documentation, but it can take a long time to figure out which packages you need to get certain services running, and how to configure them once installed If you are totally new to Unix-like operating environments, this guide could be a little over your head in some places, but if you read it from start to finish and stick with it when things get

difficult, you'll end up with a functional and useful operating system If you

already have some experience with any Unix-like operating system, you'll probably feel right at home with OpenBSD and may want to skip ahead to the sections that apply to you

While there are some suggestions and system administration tips sprinkled

throughout "The OpenBSD Crash Course," it is not designed to teach you how to administer a server It's impossible to anticipate each reader's hardware

configuration and goals for working with OpenBSD, so instead of telling you how

to set up your machine to perform specific tasks, this guide will show you how to install and configure various services and programs This Short Cut is organized into two sections: desktop and server From those two starting points, you can customize OpenBSD to meet nearly any need

If you're new to OpenBSD, start at the beginning and skip ahead when you hit a section that isn't relevant to what you need to do If you just want to get a system

up and running quickly, skip ahead to the sections that apply to your situation

Chapter 2 Understanding OpenBSD 4.0

This section will briefly introduce you to OpenBSD and its capabilities and ideal uses

Ngày đăng: 07/07/2014, 03:20