vtlim commented on code in PR #519:
URL: https://github.com/apache/druid-website-src/pull/519#discussion_r1964505321


##########
scripts/copy_druid_docs.py:
##########
@@ -57,13 +59,14 @@ def check_source(source_directory):
 
 def replace_text_in_file(destination_directory, druid_version):
     """
-    Find/replace {{DRUIDVERSION}} with the actual version
+    Find/replace "{{DRUIDVERSION}}", "\{DRUIDVERSION}", "\{{DRUIDVERSION}}", 
"\{DRUIDVERSION}}"

Review Comment:
   Should everything within the quotes be captured? Is it capturing the `/`?
   
   Not sure if testing correctly but I see only the first one fully captured
   
   
![image](https://github.com/user-attachments/assets/6606972d-ad1e-4978-b4c6-86096dea6825)
   
   
   



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to