What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: Grep issue

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 47105
interpreted = N
texte = + might not need to be escaped in webcat - all though i'm not sure - you have probably tried it anyway. ----- Original Message ----- From: Rajeev Kumar To: WebCatalog Talk Sent: Thursday, January 23, 2003 1:46 PM Subject: Grep issue > Hi, > > I am having a bit of an issue with Grep and special characters. I am trying > to strip of the + character from a number, while replacing it with 0. > Basically changing an international phone number, into the local form (eg: > +6129999999 -> 0299999999). > > I read the BBedit notes for grep, applied those principles, but its still > not working. > > It works for the * character: > > [text show=t]number=*61414200200[/text]
> [text show=t]number=[grep search=^\*?61&replace=0][number][/grep][/text] > > >>output>> > > *61414200200 > 0414200200 > > But not for the + character: > > [text show=t]number= +61414200200[/text]
> [text show=t]number=[grep search=^\+?61&replace=0][number][/grep][/text] > > >>output>> > > +61414200200 > +61414200200 > > > According to BBedit, they are both similar types of special characters, and > the way to escape special characters is with a \. But I don't get why this > isn't working. Any ideas? > > Thanks, > > Raj > > > BBEdit Grep Tutorial: http://www.anybrowser.org/bbedit/grep.shtml > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Grep issue (Rajeev Kumar 2003)
  2. Re: Grep issue (Rob Marquardt 2003)
  3. Re: Grep issue (alternative method) (Rajeev Kumar 2003)
  4. Re: Grep issue (Rajeev Kumar 2003)
  5. Re: Grep issue (Andrew Simpson 2003)
  6. Grep issue (Rajeev Kumar 2003)
+ might not need to be escaped in webcat - all though i'm not sure - you have probably tried it anyway. ----- Original Message ----- From: Rajeev Kumar To: WebCatalog Talk Sent: Thursday, January 23, 2003 1:46 PM Subject: Grep issue > Hi, > > I am having a bit of an issue with Grep and special characters. I am trying > to strip of the + character from a number, while replacing it with 0. > Basically changing an international phone number, into the local form (eg: > +6129999999 -> 0299999999). > > I read the BBedit notes for grep, applied those principles, but its still > not working. > > It works for the * character: > > [text show=t]number=*61414200200[/text]
> [text show=t]number=[grep search=^\*?61&replace=0][number][/grep][/text] > > >>output>> > > *61414200200 > 0414200200 > > But not for the + character: > > [text show=t]number= +61414200200[/text]
> [text show=t]number=[grep search=^\+?61&replace=0][number][/grep][/text] > > >>output>> > > +61414200200 > +61414200200 > > > According to BBedit, they are both similar types of special characters, and > the way to escape special characters is with a \. But I don't get why this > isn't working. Any ideas? > > Thanks, > > Raj > > > BBEdit Grep Tutorial: http://www.anybrowser.org/bbedit/grep.shtml > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Andrew Simpson

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Limiting user access to .tmpl files (1997) [math date] with non-US date format (2000) RE: [WebDNA] smtp authentication (2008) Validation (2000) Mult-File Upload w/ Web Star (2000) this works sometimes and sometimes not (1997) E-mail Attachments (1997) New Command prefs ... (1997) I'm Baaaaaaaaaack - Questions! (2000) [ShowIf] and empty fields (1997) Generating unique SKU from [cart] - Still Stumped... (1997) WebCatalog for Postcards ? (1997) Anone ever make an alphabetical shownext? (2000) $flushcache causes crash (2000) RE: Adding headers to email (1997) Search results templates (1996) Running 2 two WebCatalog.acgi's (1996) [WebDNA] Help with STMP Setup using Authentication with Google Apps in WebDNA (2016) WebCat2 - [format thousands] (1997) WC2.0 Memory Requirements (1997)