Strange behavior on regular expression for columns

Started by rmpf2

rmpf2

Strange behavior on regular expression for columns   16 January 2015, 00:06

Hi Andrew,
Happy New Year My Friend !!!!

Just to report an strange behavior on regular expression for columns results after statement ([^.]*) implementation.

This is what I mean:
Before machinename.domain.local, after regular expression machinename
Now after the last update:
Before machinename.domain.local, after regular expression machinename, domain, local

Like always, Thanks!!! smile
Excellent work on Network Scanner ok, yes, thumb up
SoftPerfect Support forum - Andrew avatar image

Re: Strange behavior on regular expression for columns   16 January 2015, 14:50

Thank you smile Happy New Year to you too!

As to this issue, this is because before only the first match was printed, whereas now all matches are printed.

If you only need the host name, this statement should do the trick:
^([^.]*)

Reply to this topic

Sometimes you can find a solution faster if you try the forum search, have a look at the knowledge base, or check the software user manual to see if your question has already been answered.

Our forum rules are simple:

  • Be polite.
  • Do not spam.
  • Write in English. If possible, check your spelling and grammar.

Author:

Email:

Subject

A brief and informative title for your message, approximately 4–8 words:

     

Spam prevention: please enter the following code in the input field below.

 **     **  **    **   *******   **    **  ********  
 **     **   **  **   **     **  **   **   **     ** 
 **     **    ****           **  **  **    **     ** 
 *********     **      *******   *****     ********  
 **     **     **            **  **  **    **     ** 
 **     **     **     **     **  **   **   **     ** 
 **     **     **      *******   **    **  ********  

Message: