Xref: utzoo comp.sources.wanted:6817 comp.unix.questions:12390 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!nsc!taux01!tasu77!cjosta From: cjosta@tasu77.UUCP (Jonathan Sweedler) Newsgroups: comp.sources.wanted,comp.unix.questions Subject: WANTED: Description of V8 regular expressions Message-ID: <1363@taux01.UUCP> Date: 23 Mar 89 11:58:17 GMT Sender: netnews@taux01.UUCP Reply-To: cjosta@tasu77.UUCP (Jonathan Sweedler) Organization: National Semiconductor (IC) Ltd, Israel Lines: 17 Does anyone have a description of the syntax for V8 regular expressions. I am trying to use regular expressions in perl, but the man page does not give a complete description of R.E., it just says that they are the same as the V8 R.E. Specifically, I am looking for a way to match X occurances of a character. I read the 'ed' manual, and it said to use the '\{', '\}' syntax, but I tried this in perl and it didn't work. i.e. I did 's/d\{3\}/dog/;' to change 'ddd' into 'dog' (please don't tell me I can just do 's/ddd/dog/;' !!). I assume V8 uses a different syntax (or doesn't have this functionality). If anyone has a complete description of the V8 R.E. I would appreciate it if you could send it to me. Thanks in advance. Jonathan Sweedler === National Semiconductor Israel UUCP: ...!{amdahl,hplabs,decwrl}!nsc!taux01!cjosta Domain: cjosta@taux01.nsc.com