[英]Regular expression code for Racket vs Java vs sed (linux)
Racket中正則表達式的代碼語言是否與Java和sed(Linux實用程序)的語言相似或相同? 可以將一種語言中的模式也用於其他語言嗎? 是否有可以獨立於平台使用的正則表達式標准?
與其他引擎的某些其他擴展RegExes相比,RegEx風格可能提供彼此更窄的語法或缺少功能。 球拍-我不熟悉-陳述了兩個不同的內置過程* regexp和* pregexp ,第一個與egrep兼容,第二個與Perl風格更加兼容。
regexp和byte-regexp過程使用與egrep最兼容的正則表達式語法將字符串或字節字符串分別轉換為regexp值。 pregexp和byte-pregexp過程使用與Perl更兼容的正則表達式語法來生成regexp值。
Wikipedia中對不同引擎進行了總體比較 ,您可能會發現它很有用。 要找到確切的區別,您可以考慮閱讀球拍手冊 。
[英]Regular Expression in Linux command sed
[英]Regular Expression: +$ VS *$ VS none
[英]Regular expression .*? vs .*
[英]regular expression (') vs (,)
[英]regular expression in VS 2010
[英]VS Code Regular Expression Search only UPPERCASE letters
[英]Replace specific char from regular expression in VS Code
[英]java performance issue - regular expression VS internal String method
[英]URL Regular Expression in Racket
[英]Regular Expression match vs replace
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.