Wrox Programmer Forums
|
BOOK: Beginning Regular Expressions
This is the forum to discuss the Wrox book Beginning Regular Expressions by Andrew Watt; ISBN: 9780764574894
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Regular Expressions section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 15th, 2005, 03:38 PM
Registered User
 
Join Date: Nov 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to ShawnShannon
Default Multiple line capture.

Hey guys...
I'm attempting to capture multiple lines of text (Like a paragraph). I must be missing something here. I'll have a text like this, though it may be more or less lines. Also, each line is seperated by a line break. (\n)

am I missing something ? Can someone help me?

i.e.
Requirement: SCD:FCE2752
Identifier: HRD_COM_001840
Identifier: [PCM_HRD_HEIN_0120_00]
                 Case grounds shall be used to conduct fault current only and not used as a normal current
                 return path except for EMI filters, which may be connected to current return and chassis.
Requirement: SCD:FCE2753
Identifier: HRD_COM_001841
Identifier: [PCM_HRD_HEIN_0121_00]
                 LRU power return and chassis ground wires shall be of the same or larger gauge (current
                 carrying capacity) as the power input wiring.
                                                           NOTE
                          The returns should be sized to be fault current return path.


 
Old October 24th, 2006, 06:48 AM
Registered User
 
Join Date: Oct 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

So has to make the dot match anything, including line break etc, you must use the "single-line" modifier, I do not know which language you are using so check your documentation.

Regular expression database (regex.fr)





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to draw indicator line in owc line chart AlexOo General .NET 0 July 9th, 2007 10:32 PM
Combine multiple records onto one line bcahillane MySQL 0 December 6th, 2006 04:54 PM
How to read file line by line in EVC++ iriskab Visual C++ 0 September 27th, 2006 01:39 PM
multiple line chart in crystal report ganans BOOK: Professional Crystal Reports for VS.NET 1 September 25th, 2006 12:13 PM
Reading line by line from a .txt file x_ray VB.NET 2002/2003 Basics 5 February 10th, 2006 01:55 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.