English
Forum

Question Match$

 

Jörg
Sellmeyer
so functions it:
CompileMarkSeparation
Declare Zeile$
Zeile$ = "4.5,6.4"
Print Match$("[0-9]+~.?[0-9]+,[0-9]+~.?[0-9]+",Zeile$)
Waitinput<
pre>

but my understanding to should the too found go:
CompileMarkSeparation
Declare Zeile$
Zeile$ = "4,6.4"
Print Match$("[0-9]+~.?[0-9]+,[0-9]+~.?[0-9]+",Zeile$)
Waitinput<
pre>

Wirds but not. (RC8)
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
10/09/06  
 




RGH
Hi,
the Error lying in the Regulären expression:
The point Although by the ? optional, but the dahinterliegende second Ziffengruppe by the + even not! If you too there the + through one ? supplant, works it How desired:
CompileMarkSeparation
!Print Match$("[0-9]+~.?[0-9]?,[0-9]+~.?[0-9]?",Zeile$)
>

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
10/09/06  
 




Jörg
Sellmeyer
OK, straight found out:
CompileMarkSeparation
Print Match$("[0-9]+(~.[0-9]+)?,[0-9]+(~.[0-9]+)?",Zeile$)
>
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
10/09/06  
 




Jörg
Sellmeyer
How can I because a designed letters exclude:
here should everything found go except the character u:
CompileMarkSeparation
Print Match$("Ha.s","Haus")
WaitInpute>

the finds naturally each characters but How becomes the u except?
Greeting
Jörg
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
10/11/06  
 




Jörg
Sellmeyer
and already rausgefunden.
the ^ behind the eckigen Klammer closes any characters in the Klammer from the Search from.
CompileMarkSeparation
Print Match$("Ha[^Uu]s","Haus")
WaitInpute>
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
10/11/06  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

776 Views

Untitledvor 0 min.
RudiB.04/05/22
Andre Rohland09/08/18
Peter Max Müller11/13/17
Joerg06/14/16
More...

Themeninformationen

this Topic has 2 subscriber:

Jörg Sellmeyer (4x)
RGH (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie