Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Bug in CReW_WildcardInput with network locations

haraldharders
9 - Comet

CReW_WildcardInput takes action to distinguish between relative and absolute paths:

REGEX_Match([#1], "^[a-zA-Z]{1}:.*$")

 

The REGEX_Match misses absolute paths on network drives which are not connected via a character, e.g., "\\server-name\path1\path2\*.csv". These paths are interpreted as relative paths:

haraldharders_0-1680107001917.png

haraldharders_1-1680107017299.png

haraldharders_2-1680107031823.png

 

Changing the above REGEX_Match statement to

REGEX_Match([#1], "^([a-zA-Z]{1}:|\\\\).*$")

would fix this issue (either the directory starts with "A:" (or other character) or "\\").

 

 

0 REPLIES 0
Labels