Ant to the rescue: ReplaceRegExp task

David Hoffer <dhoff...@gmail.com> schrieb am So., 8. Nov. 2020, 18:01:

> Hi,
>
> I need to process a file during the build to replace constructs like this:
>
> "allOf": [
>   {
>     "$ref": "#/definitions/Eligibility"
>   }
> ],
>
> to be:
>
> "$ref": "#/definitions/Eligibility",
>
> Where the $ref can point to anything.  How can I do this sort of writing
> custom code?
>
> -Dave
>

Reply via email to