RegEx - sorry to bother - found the solution 
Author Message
 RegEx - sorry to bother - found the solution

... right after I posted the question. <sigh>

It seems there are differences in the language versions when it comes
to the special signs like ^p for paragraph. Yepp. Microsoft!!!

In German the sign for a paragraph is ^a (for "Absatz").
Yepp. Believe it. I didn't at first...

It works fine when I replace the ^13 with ^a in the Replacement.Text
argument.

So, now what to do? I have to write my macros for German and English
(at the least) Word versions.
Have I to put the Replacement.Text argument in a Select Case querying
the language of the Word version, and for every language I want to
support I have to state the language specific arguments? - That
couldn't be it. Could it?

If yes <shudder>, where would I find such a list of language dependant
special signs?

And at the risk of repeating myself: Microsoft!!!



Wed, 24 Nov 2004 12:54:39 GMT  
 RegEx - sorry to bother - found the solution
Peter,

If you have the luxury of using WSH also, you might want to try using the
language-independent regular expressions available in VBScript 5.5 on.  The
progid is VBScript.RegExp if you want to do some programming using late bound
controls...

Quote:
> ... right after I posted the question. <sigh>

> It seems there are differences in the language versions when it comes
> to the special signs like ^p for paragraph. Yepp. Microsoft!!!

> In German the sign for a paragraph is ^a (for "Absatz").
> Yepp. Believe it. I didn't at first...

> It works fine when I replace the ^13 with ^a in the Replacement.Text
> argument.

> So, now what to do? I have to write my macros for German and English
> (at the least) Word versions.
> Have I to put the Replacement.Text argument in a Select Case querying
> the language of the Word version, and for every language I want to
> support I have to state the language specific arguments? - That
> couldn't be it. Could it?

> If yes <shudder>, where would I find such a list of language dependant
> special signs?

> And at the risk of repeating myself: Microsoft!!!



Fri, 26 Nov 2004 19:04:42 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. XML trouble still - Sorry for bothering u guys again

2. Sorry to bother you but.....

3. HOW CAN ADD DATABASE INTO VB 6 PROJECT SOLUTION ?SORRY NO THREAD P

4. GDI found... sorry

5. Please Find me a solution....? :(

6. solution cannot find the project anymore

7. MaskEdBox with currency I found the Solution

8. SOLUTION : RUNTIME ERROR 3170 COULDN'T FIND INSTALLABLE ISAM

9. Listing Days And Months - I Found A Solution

10. MaskEdBox & Currency I found the solution

11. VB5 Control License Info Not Found -- One Solution

12. HELP: WNetAddConnection2 and VB - SOLUTION FOUND

 

 
Powered by phpBB® Forum Software