![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Help with Regexp Topic Summary: Created On: 13-Oct-2003 16:21 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: This is one way of doing what you request: return matches("[sS][hH][aA][lL][lL][ \t\n]+\\(", Text)) -Dennis | |
![]() |
|
I'm brain-dead on Regular Expressions. Would someone please write the following function for me. Please?
- Louie bool HasShallBracket(string Text) { // Determine whether the specified Text: // o contains a "shall", // o followed by one or more white space (space, tab, CR) characters, // o followed by the "(" character. // Text is raw (no RT markup), but my contain "Shall" or "SHALL". // e.g. find "The ship sHaLl (...". } // end HasShallBracket() |
|
![]() |
|
![]() |
|
This is one way of doing what you request:
return matches("[sS][hH][aA][lL][lL][ \t\n]+\\(", Text)) -Dennis |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Help with Regexp
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.