You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "xuanwubing (via GitHub)" <gi...@apache.org> on 2024/09/11 10:04:21 UTC

[I] The URLArgumentLine's PLACEHOLDER_PATTERN doesn't match whitespace after it [shardingsphere]

xuanwubing opened a new issue, #32831:
URL: https://github.com/apache/shardingsphere/issues/32831

   usually, we would comment  our xxx.yml config's key;
   but,if we use placeholder with comment, then the placeholder value must has one whitespace after it at least.
   
   This  " _**private static final Pattern PLACEHOLDER_PATTERN = Pattern.compile("\\$\\$\\{(.+::.*)}$");**_"  regular expression doesn't support any whitespace after placeholder.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] The URLArgumentLine's PLACEHOLDER_PATTERN doesn't match whitespace after it [shardingsphere]

Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian commented on issue #32831:
URL: https://github.com/apache/shardingsphere/issues/32831#issuecomment-2345983383

   Since I don't see any PR, I'll say I don't know what regular expressions you're referring to should look like. 
   
   By the way, there have been changes to the regular expression in this part of the shardingsphere master branch.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] The URLArgumentLine's PLACEHOLDER_PATTERN doesn't match whitespace after it [shardingsphere]

Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian commented on issue #32831:
URL: https://github.com/apache/shardingsphere/issues/32831#issuecomment-2375643406

   The issue is closed due to no response.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] The URLArgumentLine's PLACEHOLDER_PATTERN doesn't match whitespace after it [shardingsphere]

Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian commented on issue #32831:
URL: https://github.com/apache/shardingsphere/issues/32831#issuecomment-2343246842

   - I would say this is intentional, I'm a committer to the original SPI implementation, and it was designed to only parse YAML values, not a whole line of YAML.
   - I roughly know what implementation you're referring to, and I think you could consider submitting a new SPI implementation for the JDBC Driver. This would completely bypass `URLArgumentLine`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] The URLArgumentLine's PLACEHOLDER_PATTERN doesn't match whitespace after it [shardingsphere]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #32831:
URL: https://github.com/apache/shardingsphere/issues/32831#issuecomment-2375150652

   There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] The URLArgumentLine's PLACEHOLDER_PATTERN doesn't match whitespace after it [shardingsphere]

Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian closed issue #32831: The URLArgumentLine's PLACEHOLDER_PATTERN doesn't match whitespace after it
URL: https://github.com/apache/shardingsphere/issues/32831


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] The URLArgumentLine's PLACEHOLDER_PATTERN doesn't match whitespace after it [shardingsphere]

Posted by "xuanwubing (via GitHub)" <gi...@apache.org>.
xuanwubing commented on issue #32831:
URL: https://github.com/apache/shardingsphere/issues/32831#issuecomment-2345775000

   I cant agree this is intentional. cause the regular expression[ \$\$\{(.+::.*)\}$] is not right.
   placeholder's regular expression should only match the placeholder itself, no matter what before or alter it(ps:the regular expression can match placeholder with head infos).
   
   Anyway,  as you said I can implement another for handle this problem!!!Thanks!!!
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] The URLArgumentLine's PLACEHOLDER_PATTERN doesn't match whitespace after it [shardingsphere]

Posted by "xuanwubing (via GitHub)" <gi...@apache.org>.
xuanwubing commented on issue #32831:
URL: https://github.com/apache/shardingsphere/issues/32831#issuecomment-2345775917

   I cant agree this is intentional. cause the regular expression[ \$\$\{(.+::.*)\}$] is not right.
   placeholder's regular expression should only match the placeholder itself, no matter what before or alter it(ps:the regular expression can match placeholder with head infos).
   
   Anyway,  as you said I can implement another for handle this problem!!!Thanks!!!
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org