Beginning Regular Expressions

Author: Andrew Watt

Publisher: John Wiley & Sons

ISBN: 0764574892

Category: Computers

Page: 742

View: 4185

This book introduces the various parts of the construction of a regular expression pattern, explains what they mean, and walks you through working examples showing how they work and why they do what they do. By working through the examples, you will build your understanding of how to make regular expressions do what you want them to do and avoid creating regular expressions that don t meet your intentions. Beginning chapters introduce regular expressions and show you a method you can use to break down a text manipulation problem into component parts so that you can make an intelligent choice about constructing a regular expression pattern that matches what you want it to match and avoids matching unwanted text. To solve more complex problems, you should set out a problem definition and progressively refine it to express it in English in a way that corresponds to a regular expression pattern that does what you want it to do. The second part of the book devotes a chapter to each of several technologies available on the Windows platform. You are shown how to use each tool or language with regular expressions (for example, how to do a lookahead in Perl or create a named variable in C#). Regular expressions can be useful in applications such as Microsoft Word, OpenOffice.org Writer, Microsoft Excel, and Microsoft Access. A chapter is devoted to each. In addition, tools such as the little–known Windows findstr utility and the commercial PowerGrep tool each have a chapter showing how they can be used to solve text manipulation tasks that span multiple files. The use of regular expressions in the MySQL and Microsoft SQL Server databases are also demonstrated. Several programming languages have a chapter describing the metacharacters available for use in those languages together with demonstrations of how the objects or classes of that language can be used with regular expressions. The languages covered are VBScript, Javascript, Visual Basic .NET, C#, PHP, Java, and Perl. XML is used increasingly to store textual data. The W3C XML Schema definition language can use regular expressions to automatically validate data in an XML document. W3C XML Schema has a chapter demonstrating how regular expressions can be used with the xs:pattern element. Chapters 1 through 10 describe the component parts of regular expression patterns and show you what they do and how they can be used with a variety of text manipulation tools and languages. You should work through these chapters in order and build up your understanding of regular expressions. The book then devotes a chapter to each of several text manipulation tools and programming languages. These chapters assume knowledge from Chapters 1 through 10, but you can dip into the tool–specific and language–specific chapters in any order you want.

Reguläre Ausdrücke Kochbuch

Author: Jan Goyvaerts,Steven Levithan

Publisher: O'Reilly Germany

ISBN: 3897219573

Category: Computer programming

Page: 519

View: 6748

Fur Entwickler, die regelmaig mit Texten arbeiten, sind regulare Ausdrucke so lebensnotwendig wie die Luft zum Atmen. Doch wer sich nur oberflachlich mit diesem Hilfsmittel auskennt, gerat leicht in unangenehme Situationen. Selbst erfahrene Programmierer haben immer wieder mit schlechter Performance, falsch positiven oder falsch negativen Ergebnissen und unerklarlichen Fehlern zu kampfen. Dieses Kochbuch schafft Abhilfe: Anhand von uber 100 Rezepten fur C#, Java, JavaScript, Perl, PHP, Python, Ruby und VB.NET lernen Sie, wie Sie regulare Ausdrucke gekonnte einsetzen, typische Fallen umgehen und so viel wertvolle Zeit sparen. Mit Tutorial fur Anfanger: Falls Sie noch nicht - oder nur wenig - mit regularen Ausdrucken gearbeitet haben, dienen Ihnen die ersten Kapitel dieses Buchs als Tutorial, das Sie mit den Grundlagen der Regexes und empfehlenswerten Tools vertraut macht. So sind Sie fur die komplexeren Beispiele in den darauf folgenden Kapiteln bestens gerustet. Tricks und Ideen fur Profis: Auch erfahrene Regex-Anwender kommen ganz auf ihre Kosten: Jan Goyvaerts und Steven Levithan, zwei anerkannte Groen im Bereich regulare Ausdrucke, gewahren tiefe Einblicke in ihren Erfahrungsschatz und uberraschen mit eleganten Losungen fur fast jede denkbare Herausforderung. Deckt die unterschiedlichen Programmiersprachen ab: In allen Rezepten werden Regex-Optionen sowie Varianten fur die verschiedenen Programmier- und Skriptsprachen aufgezeigt. Damit lassen sich sprachenspezifische Bugs sicher vermeiden.

Reguläre Ausdrücke

Author: Jeffrey E. F. Friedl

Publisher: O'Reilly Germany

ISBN: 3897217902

Category: Computers

Page: 556

View: 7286

Reguläre Ausdrücke sind ein leistungsstarkes Mittel zur Verarbeitung von Texten und Daten. Wenn Sie reguläre Ausdrücke noch nicht kennen, wird Ihnen dieses Buch eine ganz neue Welt eröffnen. Aufgrund der ausgesprochen detaillierten und tiefgründigen Behandlung des Themas ist dieses Buch aber auch für Experten eine wahre Trouvaille. Die neue Auflage dieses anerkannten Standardwerks behandelt jetzt auch die Unterstützung regulärer Ausdrücke in PHP sowie Suns java.util.regex. Der klare und unterhaltsame Stil des Buchs hat schon Tausenden von Programmierern das an sich trockene Thema nähergebracht, und mit den vielen Beispielen zu Problemen aus dem Programmieralltag ist Reguläre Ausdrücke eine praktische Hilfe bei der täglichen Arbeit. Reguläre Ausdrücke sind überall Sie sind standardmäßig in Perl, PHP, Java, Python, Ruby, MySQL, VB.NET und C# (und allen Sprachen des .NET-Frameworks) sowie anderen Programmiersprachen und Werkzeugen eingebaut. Dieses Buch geht detailliert auf die Unterschiede und Gemeinsamkeiten bei der Behandlung regulärer Ausdrücke in diesen Sprachen und Werkzeugen ein. Besonders ausführlich werden die Regex-Features von Perl, Java, PHP und .NET behandelt. Reguläre Ausdrücke sind mächtig Reguläre Ausdrücke sind sehr leistungsfähig und flexibel. Dennoch bleibt ihre Anwendung oft unter ihren Möglichkeiten. Mit regulären Ausdrücken können Sie komplexe und subtile Textbearbeitungsprobleme lösen, von denen Sie vielleicht nie vermutet hätten, daß sie sich automatisieren lassen. Reguläre Ausdrücke ersparen Ihnen Arbeit und Ärger, und viele Probleme lassen sich mit ihnen auf elegante Weise lösen. Reguläre Ausdrücke sind anspruchsvoll Was in der Hand von Experten eine sehr nützliche Fähigkeit ist, kann sich als Stolperstein für Ungeübte herausstellen. Dieses Buch zeigt einen Weg durch das unwägbare Gebiet und hilft Ihnen, selbst Experte zu werden. Wenn Sie die regulären Ausdrücke beherrschen, werden sie zu einem unverzichtbaren Teil Ihres Werkzeugkastens. Sie werden sich fragen, wie Sie je ohne sie arbeiten konnten.

Beginning ASP.NET 4.5.1: in C# and VB

Author: Imar Spaanjaars

Publisher: John Wiley & Sons

ISBN: 1118846966

Category: Computers

Page: 864

View: 2807

Build your ASP.NET 4.5.1 skills with real-world instruction In this comprehensive guide to getting started with ASP.NET 4.5.1, best-selling author Imar Spaanjaars provides a firm foundation for coders new to ASP.NET and key insights for those not yet familiar with the important updates in the 4.5.1 release. Readers learn how to build full-featured ASP.NET websites using Visual Studio Express 2013 for Web, Microsoft’s free development tool for ASP.NET web applications. Beginning ASP.NET 4.5.1 guides you through the process of creating a fully functional, database-driven website, from creation of the most basic site structure all the way down to the successful deployment of the website to a production environment. Beginning ASP.NET 4.5.1: in C# and VB: Explains how to get started with ASP.NET 4.5.1, including an introduction to Microsoft’s Visual Studio Express 2013 for Web Features helpful examples for designing websites with CSS and HTML and how to overcome common formatting problems Shares techniques for managing server controls in ASP.NET, including standard controls, HTML controls, and data controls Provides real-world tips for creating consistent page layouts throughout your websites Covers practical functionality issues like validating user input, sending e-mail from your website, and processing data at the server Details what the ASP.NET state engine is and why it is important Shows how to access and modify data in a SQL Server database Includes coverage of jQuery, LINQ, and the Entity Framework Explores measures to take for optimal security

Beginning ASP.NET Web Pages with WebMatrix

Author: Mike Brind,Imar Spaanjaars

Publisher: John Wiley & Sons

ISBN: 111820350X

Category: Computers

Page: 408

View: 900

Learn to build dynamic web sites with Microsoft WebMatrix Microsoft WebMatrix is designed to make developing dynamic ASP.NET web sites much easier. This complete Wrox guide shows you what it is, how it works, and how to get the best from it right away. It covers all the basic foundations and also introduces HTML, CSS, and Ajax using jQuery, giving beginning programmers a firm foundation for building dynamic web sites. Examines how WebMatrix is expected to become the new recommended entry-level tool for developing web sites using ASP.NET Arms beginning programmers, students, and educators with all the information they need to start developing dynamic web sites, including design tips and layout advice Explains the Packages Administration tool, including how to use the Facebook Social and Web Helper packages Covers working with files, images, and databases; debugging and error handling; maintaining security; and site optimization In the tried-and-true tradition of Wrox Beginning guides, Beginning ASP.NET Web Pages with WebMatrix gives novice programmers the knowledge and confidence they need to get going.

Mastering Regular Expressions

Author: Jeffrey Friedl

Publisher: "O'Reilly Media, Inc."

ISBN: 0596528124

Category: Computers

Page: 515

View: 3849

Introduces regular expressions and how they are used, discussing topics including metacharacters, nomenclature, matching and modifying text, expression processing, benchmarking, optimizations, and loops.

Google Analytics

Author: Jerri L. Ledford,Joe Teixeira,Mary E. Tyler

Publisher: John Wiley and Sons

ISBN: 9781118081594

Category: Computers

Page: 432

View: 4929

Get the most out of the free Google Analytics service—and get more customers Google Analytics allows you to discover vital information about how end users interact with their Web sites by collecting vital data and providing tools to analyze it, with the intention of improving the end-user experience and, ultimately converting users into customers. This indispensible guide delves into the latest updates to the newest version of Google Analytics—3.0—and explains the concepts behind this amazing free tool. You'll discover what information to track, how to choose the right goals and filters, techniques for reading Google Analytics reports and graphs, and, most importantly, how to compile this data and use it to improve your Web site and attract more potential customers. Takes an in-depth look at Google Analytics 3.0 and walks you through the possibilities it offers Explains how to read Google Analytics reports and graphs so that you can compile this data and use it to improve your Web site and attract more users Shares techniques for converting end users into customers Features tips and suggestions for getting the information you need from Google Analytics reports and then converting that information into actionable tasks you can use With Google Analytics, Third Edition, you&'ll be well on your way to retrieving the information you need to convert visitors to your site into customers! Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file.

Mastering Regular Expressions

Author: Jeffrey E. F. Friedl

Publisher: "O'Reilly Media, Inc."

ISBN: 9780596002893

Category: Computers

Page: 460

View: 7013

Introduces regular expressions and how they are used, discussing topics including metacharacters, nomenclature, matching and modifying text, expression processing, benchmarking, optimizations, and loops.

Learn AppleScript

The Comprehensive Guide to Scripting and Automation on Mac OS X

Author: Hamish Sanderson,Hanaan Rosenthal,Ian Piper,Barry Wainwright,Emmanuel Levy,Harald Monihart,Craig Williams,Shane Stanley

Publisher: Apress

ISBN: 1430223626

Category: Computers

Page: 1104

View: 469

AppleScript is an English-like, easy-to-understand scripting language built into every Mac. AppleScript can automate hundreds of AppleScript-able applications, performing tasks both large and small, complex and simple. Learn AppleScript: The Comprehensive Guide to Scripting and Automation on Mac OS X, Third Edition has been completely updated for Mac OS X Snow Leopard. It's all here, with an emphasis on practical information that will help you solve any automation problem—from the most mundane repetitive tasks to highly integrated workflows of complex systems. Friendly enough for beginners, detailed enough for advanced AppleScripters Includes major contributions from expert AppleScripters: Emmanuel Levy, Harald Monihart, Ian Piper, Shane Stanley, Barry Wainwright, Craig Williams, and foreword by AppleScript inventor, William Cook

Beginning Portable Shell Scripting

From Novice to Professional

Author: Peter Seebach

Publisher: Apress

ISBN: 1430210435

Category: Computers

Page: 376

View: 7913

Portable shell scripting is the future of modern Linux, OS X, and Unix command–line access. Beginning Portable Shell Scripting: From Novice to Professional teaches shell scripting by using the common core of most shells and expands those principles to all of scripting. You will learn about portable scripting and how to use the same syntax and design principles for all shells. You’ll discover about the interaction between shells and other scripting languages like Ruby and Python, and everything you learn will be shown in context for Linux, OS X, bash, and AppleScript. What you’ll learn This book will prime you on not just shell scripting, but also the modern context of portable shell scripting. You will learn The core Linux/OS X shell constructs from a portability point of view How to write scripts that write other scripts, and how to write macros and debug them How to write and design shell script portably from the ground up How to use programmable utilities and their inherent portability to your advantage, while pinpointing potential traps Pulling everything together, how to engineer scripts that play well with Python and Ruby, and even run on embedded systems Who this book is for This book is for system administrators, programmers, and testers working across Linux, OS X, and the Unix command line. Table of Contents Introduction to Shell Scripting Patterns and Regular Expressions Basic Shell Scripting Core Shell Features Explained Shells Within Shells Invocation and Execution Shell Language Portability Utility Portability Bringing It All Together Shell Script Design Mixing and Matching

Beginning JavaScript

Author: Jeremy McPeak

Publisher: John Wiley & Sons

ISBN: 1118903749

Category: Computers

Page: 768

View: 7828

The bestselling JavaScript guide, updated with current features and best practices Beginning JavaScript 5th Edition shows you how to work effectively with JavaScript frameworks, functions, and modern browsers, and teaches more effective coding practices using HTML5. This new edition has been extensively updated to reflect the way JavaScript is most commonly used today, introducing you to the latest tools and techniques available to JavaScript developers. Coverage includes modern coding practices using HTML5 markup, the JSON data format, DOM APIs, the jQuery framework, and more. Exercises with solutions provide plenty of opportunity to practice, and the companion website offers downloadable code for all examples given in the book. Learn JavaScript using the most up to date coding style Understand JSON, functions, events, and feature detection Utilize the new HTML5 elements and the related API Explore new features including geolocation, local storage, and more JavaScript has shaped the Web from a passive medium into one that is rich, dynamic, and interactive. No matter the technology on the server side, it's JavaScript that makes it come alive in the browser. To learn JavaScript the way it's used today, Beginning JavaScript, 5th Edition is your concise guide.

Automated Data Collection with R

A Practical Guide to Web Scraping and Text Mining

Author: Simon Munzert,Christian Rubba,Peter Meißner,Dominic Nyhuis

Publisher: John Wiley & Sons

ISBN: 1118834801

Category: Computers

Page: 480

View: 6575

A hands on guide to web scraping and text mining for both beginners and experienced users of R Introduces fundamental concepts of the main architecture of the web and databases and covers HTTP, HTML, XML, JSON, SQL. Provides basic techniques to query web documents and data sets (XPath and regular expressions). An extensive set of exercises are presented to guide the reader through each technique. Explores both supervised and unsupervised techniques as well as advanced techniques such as data scraping and text management. Case studies are featured throughout along with examples for each technique presented. R code and solutions to exercises featured in the book are provided on a supporting website.

MCSD Certification Toolkit (Exam 70-483)

Programming in C#

Author: Tiberiu Covaci,Rod Stephens,Vincent Varallo,Gerry O'Brien

Publisher: John Wiley & Sons

ISBN: 1118729501

Category: Computers

Page: 656

View: 4515

A perfectly crafted prep guide that prepares you for the MCSD70-483 The MCSD 70-483 exam is the entry-level Microsoft certificationexam for C# developers and this must-have resource offers essentialcoverage of the exam that will test your competency in C#programming. Each chapter covers one of the core subject domainsthat comprise the exam. Among the authors are experienced trainerswho advised Microsoft on the development of its certificationprograms, affording them a unique understanding of both theobjectives and what it takes to master them. This invaluableknowledge is passed to you so that you will not only be prepared totake the exam, but also become a better C# developer Features a step-by-step lab tutorial for each lesson covered inthe book, encouraging you to practice what you've just learned inorder to reinforce your learning Includes an accompanying website that includes more than 100simulated test questions and answers Shares solutions to the hands-on labs presented in thebook Contains complete sample code Offers a unique author approach that not only teaches you howto answer a set of exam questions but also provides you with anunderstanding of the underlying concepts and skills needed tosucceed as a professional C# programmer MCSD Certification Toolkit is all you need to fullyprepare for exam 70-483!

Automating InDesign with Regular Expressions

Author: Peter Kahrel

Publisher: "O'Reilly Media, Inc."

ISBN: 0596529376

Category: Computers

Page: 56

View: 304

If you need to make automated changes to InDesign documents beyond what basic search and replace can handle, you need regular expressions, and a bit of scripting to make them work. This Short Cut explains both how to write regular expressions, so you can find and replace the right things, and how to use them in InDesign specifically.

Beginning Python

Author: Peter C. Norton,Alex Samuel,Dave Aitel,Eric Foster-Johnson,Leonard Richardson,Jason Diamond,Aleatha Parker,Michael Roberts

Publisher: John Wiley & Sons

ISBN: 0471760315

Category: Computers

Page: 649

View: 9885

This tutorial offers readers a thorough introduction to programming in Python 2.4, the portable, interpreted, object-oriented programming language that combines power with clear syntax Beginning programmers will quickly learn to develop robust, reliable, and reusable Python applications for Web development, scientific applications, and system tasks for users or administrators Discusses the basics of installing Python as well as the new features of Python release 2.4, which make it easier for users to create scientific and Web applications Features examples of various operating systems throughout the book, including Linux, Mac OS X/BSD, and Windows XP

Beginning Unix

Author: Paul Love,Joe Merlino,Craig Zimmerman,Jeremy C. Reed,Paul Weinstein

Publisher: John Wiley & Sons

ISBN: 0764598082

Category: Computers

Page: 480

View: 7242

Covering all aspects of the Unix operating system and assuming no prior knowledge of Unix, this book begins with the fundamentals and works from the ground up to some of the more advanced programming techniques The authors provide a wealth of real-world experience with the Unix operating system, delivering actual examples while showing some of the common misconceptions and errors that new users make Special emphasis is placed on the Apple Mac OS X environment as well as Linux, Solaris, and migrating from Windows to Unix A unique conversion section of the book details specific advice and instructions for transitioning Mac OS X, Windows, and Linux users

Beginning Java 8 Fundamentals

Language Syntax, Arrays, Data Types, Objects, and Regular Expressions

Author: Kishori Sharan

Publisher: Apress

ISBN: 1430266538

Category: Computers

Page: 828

View: 9973

Beginning Java 8 Fundamentals provides a comprehensive approach to learning the Java programming language, especially the object-oriented fundamentals necessary at all levels of Java development. Author Kishori Sharan provides over 90 diagrams and 240 complete programs to help beginners and intermediate level programmers learn the topics faster. Starting with basic programming concepts, the author walks you through writing your first Java program step-by-step. Armed with that practical experience, you'll be ready to learn the core of the Java language. The book continues with a series of foundation topics, including using data types, working with operators, and writing statements in Java. These basics lead onto the heart of the Java language: object-oriented programming. By learning topics such as classes, objects, interfaces, and inheritance you'll have a good understanding of Java's object-oriented model. The final collection of topics takes what you've learned and turns you into a real Java programmer. You'll see how to take the power of object-oriented programming and write programs that can handle errors and exceptions, process strings and dates, format data, and work with arrays to manipulate data.

ASP.NET by Example

Author: Steven A. Smith

Publisher: Que Publishing

ISBN: 9780789725622

Category: Computers

Page: 527

View: 1225

ASP developers need to understand how ASP.NET can help them solve business problems better than any prior product. ASP.NET by Example is designed to provide a "crash course" on ASP.NET and quickly help the reader start using this new technology. As part of the By Example series, this book approaches ASP.NET in an easy-to-use tutorial way, giving the reader a much faster and more interactive learning experience than the traditional reference book. By building the sample applications taught in the book, readers will learn how to create custom ASP.NET controls, how to use ADO+ objects in ASP, and how to deploy and manage applications. ASP.NET by Example also provides tools and information needed to migrate old ASP files to the new platform, saving developers significant time and money. As an added feature Steven A. Smith has included multiple case studies on how ASP.NET is used in e-commerce applications.

Learning PHP, MySQL, JavaScript, and CSS

A Step-by-Step Guide to Creating Dynamic Websites

Author: Robin Nixon

Publisher: "O'Reilly Media, Inc."

ISBN: 1449337481

Category: Computers

Page: 586

View: 2067

Learn how to build interactive, data-driven websites—even if you don’t have any previous programming experience. If you know how to build static sites with HTML, this popular guide will help you tackle dynamic web programming. You’ll get a thorough grounding in today’s core open source technologies: PHP, MySQL, JavaScript, and CSS. Explore each technology separately, learn how to combine them, and pick up valuable web programming concepts along the way, including objects, XHTML, cookies, and session management. This book provides review questions in each chapter to help you apply what you’ve learned. Learn PHP essentials and the basics of object-oriented programming Master MySQL, from database structure to complex queries Create web pages with PHP and MySQL by integrating forms and other HTML features Learn JavaScript fundamentals, from functions and event handling to accessing the Document Object Model Pick up CSS basics for formatting and styling your web pages Turn your website into a highly dynamic environment with Ajax calls Upload and manipulate files and images, validate user input, and secure your applications Explore a working example that brings all of the ingredients together

Regular Expressions Cookbook

Detailed Solutions in Eight Programming Languages

Author: Jan Goyvaerts,Steven Levithan

Publisher: "O'Reilly Media, Inc."

ISBN: 1449327486

Category: Computers

Page: 612

View: 9073

Take the guesswork out of using regular expressions. With more than 140 practical recipes, this cookbook provides everything you need to solve a wide range of real-world problems. Novices will learn basic skills and tools, and programmers and experienced users will find a wealth of detail. Each recipe provides samples you can use right away. This revised edition covers the regular expression flavors used by C#, Java, JavaScript, Perl, PHP, Python, Ruby, and VB.NET. You’ll learn powerful new tricks, avoid flavor-specific gotchas, and save valuable time with this huge library of practical solutions. Learn regular expressions basics through a detailed tutorial Use code listings to implement regular expressions with your language of choice Understand how regular expressions differ from language to language Handle common user input with recipes for validation and formatting Find and manipulate words, special characters, and lines of text Detect integers, floating-point numbers, and other numerical formats Parse source code and process log files Use regular expressions in URLs, paths, and IP addresses Manipulate HTML, XML, and data exchange formats Discover little-known regular expression tricks and techniques