Forum Moderators: goodroi
The value of this field [Disallow] specifies a partial URL that is not to be visited. This can be a full path, or a partial path; any URL that starts with this value will not be retrieved
A Standard for Robot Exclusion [robotstxt.org] - my emphasis
'/dex.php' and '/dex.php?s=12345' are disallowed, 'inDEX.php' is not since it does not start with /dex.php.
Andreas