問題タブ [ends-with]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
116 問題
0
投票する
2
に答える
78
参照
regex - 分度器でテキストが数字で終わることをアサートする方法
分度器で、リンクテキストが次の方法で構成されていることを主張したいと思います: text-1 (ここで、テキストは変数であり、数値は任意の数字で構成できます)。
私は次のことを試しました:
と
残念ながら、上記の xpath はどれも機能しませんでした。
どうすればこれを修正できますか?