A recent change in Lazarus trunk has created a problem when building IBX 2.4.0. tvsUpdating was removed from the TTreeViewState enumeration, and subsequently from TCustomTreeView.States. As a result, TDBTreeView.Delete in IBX now fails to compile.
Sounds similar to regex issues. I wasn't sure if you explicitly support Lazarus trunk, or not. If not, consider this a "heads up".
And for reference:
procedure TDBTreeView.Delete(Node: TTreeNode);
begin
if not (tvsUpdating in States) {TreeNodes being cleared}
and not (tvsManualNotify in States) {Tree Collapse with node delete}
and ScrollToNode(TDBTreeNode(Node)) then
DataSet.Delete;
inherited Delete(Node);
end;